From 01109dedbd2c8d55ddd067575ea541653820e6df 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