mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-01-22 04:48:13 -05:00
增加Docker镜像latest标签
This commit is contained in:
parent
e1bb8a87ed
commit
ce6247593e
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
||||
- name: 添加BuildTag环境变量(release)
|
||||
if: ${{ github.event_name == 'release'}}
|
||||
run: |
|
||||
echo "BUILD_TAG=-t ${BUILD_IMAGE}:${BUILD_VERSION} -t ${BUILD_IMAGE}:${BUILD_VERSION%.*} -t ${BUILD_IMAGE}:${BUILD_VERSION%.*.*} -t ${BUILD_IMAGE}:release" >> $GITHUB_ENV
|
||||
echo "BUILD_TAG=-t ${BUILD_IMAGE}:${BUILD_VERSION} -t ${BUILD_IMAGE}:${BUILD_VERSION%.*} -t ${BUILD_IMAGE}:${BUILD_VERSION%.*.*} -t ${BUILD_IMAGE}:release -t ${BUILD_IMAGE}:latest" >> $GITHUB_ENV
|
||||
- name: 登录DockerHub账号
|
||||
env:
|
||||
DOCKER_USERNAME: ${{secrets.DOCKER_USERNAME}}
|
||||
|
Loading…
Reference in New Issue
Block a user