diff --git a/.github/workflows/build-push.yml b/.github/workflows/build-push.yml index a87efc78c3..f455ffdc38 100644 --- a/.github/workflows/build-push.yml +++ b/.github/workflows/build-push.yml @@ -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 }}