From f3e96907fef426241d4def0fa2a99c9647a982af Mon Sep 17 00:00:00 2001 From: qaiu <736226400@qq.com> Date: Wed, 2 Jul 2025 18:19:01 +0800 Subject: [PATCH] Update maven.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit docker镜像构建添加版本号 --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 0c70333..c78b939 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -83,6 +83,6 @@ jobs: context: . push: true tags: | - ghcr.io/${{ github.repository }}:${{ steps.extract_tag.outputs.tag }} + ghcr.io/${{ github.repository }}:$(echo $(git tag --points-at HEAD) | sed 's/ /,/g') ghcr.io/${{ github.repository }}:${{ github.sha }} ghcr.io/${{ github.repository }}:main