mirror of
https://github.com/jiangrui1994/CloudSaver.git
synced 2026-01-10 15:18:46 +08:00
Update docker-image.yml
This commit is contained in:
6
.github/workflows/docker-image.yml
vendored
6
.github/workflows/docker-image.yml
vendored
@@ -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) }}
|
||||
|
||||
Reference in New Issue
Block a user