mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-01-22 12:58:13 -05:00
增加开发分支自动化构建
This commit is contained in:
parent
c3ebd360d9
commit
fa196d91b3
3
.github/workflows/docker.yml
vendored
3
.github/workflows/docker.yml
vendored
@ -4,6 +4,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- 'develop-zh'
|
||||
- 'zh-v[1-9].[0-9]+.[0-9]+'
|
||||
release:
|
||||
types: [published]
|
||||
jobs:
|
||||
@ -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: |
|
||||
|
Loading…
Reference in New Issue
Block a user