Skip to content

Commit dc304f4

Browse files
committed
流水线添加加密配置
1 parent cff5c9d commit dc304f4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,15 @@ jobs:
8383

8484
- name: Build with Maven
8585
if: ${{ env.SKIP != 'image'}}
86+
env:
87+
JASYPT_ALGO: ${{ secrets.JASYPT_ALGO }}
88+
JASYPT_PWD: ${{ secrets.JASYPT_PWD }}
8689
run: |
8790
cd prompto-lab-app
91+
echo "jasypt:" > src/main/resources/you-cant-see-that.yml
92+
echo " encryptor:" >> src/main/resources/you-cant-see-that.yml
93+
echo " algorithm: $JASYPT_ALGO" >> src/main/resources/you-cant-see-that.yml
94+
echo " password: $JASYPT_PWD" >> src/main/resources/you-cant-see-that.yml
8895
mvn package -Dmaven.test.skip=true
8996
9097
- name: Build and Push Docker Images

0 commit comments

Comments
 (0)