build: 更新 docker 镜像打 tag 方式

This commit is contained in:
BugKing 2020-12-10 13:04:08 +08:00 committed by GitHub
parent bc49f69ede
commit 85a055af9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -60,5 +60,5 @@ jobs:
username: metersphere
password: ${{ secrets.DOCKER_HUB_TOKEN }}
repository: metersphere/metersphere
tag_with_ref: true
tags: ${{ env.GITHUB_REF_SLUG }}
build_args: MS_VERSION=${{ env.GITHUB_REF_SLUG }}-${{ env.GITHUB_SHA_SHORT }}