Compare commits

..

8 Commits
v1.07 ... v1.15

Author SHA1 Message Date
bamanker
a82e7e9c26 传递环境变量11
Some checks failed
Build Push and Deploy Image / build (push) Has been cancelled
2025-12-26 10:03:49 +08:00
bamanker
1e81261aef 传递环境变量10
Some checks failed
Build Push and Deploy Image / build (push) Failing after 2s
2025-12-26 10:02:07 +08:00
bamanker
c0975a75ed 传递环境变量9
Some checks failed
Build Push and Deploy Image / build (push) Has been cancelled
2025-12-26 09:57:51 +08:00
bamanker
10153898c2 传递环境变量8
Some checks failed
Build Push and Deploy Image / build (push) Failing after 2s
2025-12-26 09:56:48 +08:00
bamanker
8412554d26 传递环境变量7
Some checks failed
Build Push and Deploy Image / build (push) Has been cancelled
2025-12-26 09:51:14 +08:00
bamanker
8555ea3077 传递环境变量6
Some checks failed
Build Push and Deploy Image / build (push) Failing after 1s
2025-12-26 09:50:18 +08:00
bamanker
79471c11a5 传递环境变量5
Some checks failed
Build Push and Deploy Image / build (push) Failing after 1s
2025-12-26 09:46:29 +08:00
bamanker
11c1c2fa23 传递环境变量4 2025-12-26 09:43:54 +08:00
2 changed files with 9 additions and 8 deletions

View File

@@ -38,19 +38,20 @@ jobs:
# e.g. refs/tags/v1.0.0
run: |
echo "version=${GITHUB_REF/refs\/tags\/v}" >> $GITHUB_OUTPUT
- name: Check java version
run: java -version
# - name: Check java version
# run: java -version
- name: Set Env Var
env:
TAG: ${{ steps.get_version.outputs.version }}
APP_TAG: ${{ steps.get_version.outputs.version }}
run: |
export APP_TAG=${{ steps.get_version.outputs.version }} |
# echo APP_TAG=${{ env.TAG }} |
export APP_NAME=${{ env.APP_NAME }} |
echo APP_NAME=${{ env.APP_NAME }} |
cat ./deployment.yml
# export APP_TAG=$env.TAG
# echo APP_TAG=${{ env.TAG }} |
# export APP_NAME=${{ env.APP_NAME }} |
# echo APP_NAME=${{ env.APP_NAME }} |
- name: Inject Env Var
run: |
envsubst < .deploy/deployment.yml
envsubst < ./deployment.yml
- name: Build with Maven
# 设置Maven执行权限使用maven绝对路径执行打包命令
run: /usr/local/maven/bin/mvn clean package -DskipTests -Pprod