Update docker-image.yml

This commit is contained in:
jiangrui1994
2025-02-20 14:21:42 +08:00
committed by GitHub
parent 9864eeb21d
commit 868d99367d

View File

@@ -26,6 +26,6 @@ jobs:
context: .
push: ${{ github.event_name == 'push' }} # 仅推送代码时上传镜像
tags: |
ghcr.io/${{ github.repository }}:latest
ghcr.io/${{ github.repository }}:${{ github.sha }}
ghcr.io/${{ github.repository }}:${{ github.ref_name }}
ghcr.io/${{ format('{0}:latest', toLower(github.repository)) }}
ghcr.io/${{ format('{0}:{1}', toLower(github.repository), github.sha) }}
ghcr.io/${{ format('{0}:{1}', toLower(github.repository), github.ref_name) }}