Update maven.yml

docker镜像构建添加版本号
This commit is contained in:
qaiu
2025-07-02 18:19:01 +08:00
committed by GitHub
parent 75a1e58a7d
commit f3e96907fe

View File

@@ -83,6 +83,6 @@ jobs:
context: . context: .
push: true push: true
tags: | 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 }}:${{ github.sha }}
ghcr.io/${{ github.repository }}:main ghcr.io/${{ github.repository }}:main