Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
29f1bc8aa1 |
@@ -45,11 +45,7 @@ jobs:
|
||||
env:
|
||||
APP_VERSION: ${{ steps.get_version.outputs.version }}
|
||||
run: |
|
||||
echo "The app version is $APP_VERSION" && export APP_TAG=$APP_VERSION
|
||||
# export APP_TAG=$env.TAG
|
||||
# echo APP_TAG=${{ env.TAG }} |
|
||||
# export APP_NAME=${{ env.APP_NAME }} |
|
||||
# echo APP_NAME=${{ env.APP_NAME }} |
|
||||
echo "The app version is $APP_VERSION" && echo "APP_TAG=$APP_VERSION" >> $GITHUB_ENV
|
||||
- name: Inject Env Var
|
||||
run: |
|
||||
envsubst < ./deployment.yml
|
||||
@@ -76,7 +72,7 @@ jobs:
|
||||
- name: Build and push Docker image
|
||||
uses: http://139.9.216.111:3000/bamanker/build-push-action@v6 # 获取上一步截取到的版本号,既 1.0.0
|
||||
env:
|
||||
TAG: ${{ steps.get_version.outputs.version }}
|
||||
TAG: $APP_TAG
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64
|
||||
|
||||
Reference in New Issue
Block a user