Skip to content

Commit

Permalink
增加开发分支自动化构建
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxinpro committed Jan 19, 2024
1 parent c3ebd36 commit fa196d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- 'develop-zh'
- 'zh-v[1-9].[0-9]+.[0-9]+'
release:
types: [published]
jobs:
Expand All @@ -20,7 +21,7 @@ jobs:
- name: 添加BuildTag环境变量(push)
if: ${{ github.event_name == 'push'}}
run: |
echo "BUILD_TAG=-t ${BUILD_IMAGE}:${BUILD_VERSION} -t ${BUILD_IMAGE}:dev" >> $GITHUB_ENV
echo "BUILD_TAG=-t ${BUILD_IMAGE}:dev-${BUILD_VERSION} -t ${BUILD_IMAGE}:dev" >> $GITHUB_ENV
- name: 添加BuildTag环境变量(release)
if: ${{ github.event_name == 'release'}}
run: |
Expand Down

0 comments on commit fa196d9

Please sign in to comment.