fix: try fix #2

Signed-off-by: JohnsonRan <me@ihtw.moe>
This commit is contained in:
JohnsonRan
2025-08-13 22:36:29 +08:00
parent 8e7b31676d
commit 0dc20b8ce8

View File

@@ -56,7 +56,7 @@ jobs:
images: ghcr.io/${{ env.REGISTRY_IMAGE }} images: ghcr.io/${{ env.REGISTRY_IMAGE }}
tags: | tags: |
type=raw,value=latest,enable={{is_default_branch}} type=raw,value=latest,enable={{is_default_branch}}
type=semver,pattern=${{ env.latest_tag }},enable=${{ github.ref == 'refs/heads/main' && github.event_name == 'workflow_run' }} type=raw,value=${{ env.latest_tag }},enable={{is_default_branch}}
- name: Get latest tag - name: Get latest tag
run: | run: |
@@ -135,7 +135,7 @@ jobs:
images: ghcr.io/${{ env.REGISTRY_IMAGE }} images: ghcr.io/${{ env.REGISTRY_IMAGE }}
tags: | tags: |
type=raw,value=latest,enable={{is_default_branch}} type=raw,value=latest,enable={{is_default_branch}}
type=semver,pattern=${{ env.latest_tag }},enable=${{ github.ref == 'refs/heads/main' && github.event_name == 'workflow_run' }} type=raw,value=${{ env.latest_tag }},enable={{is_default_branch}}
- name: Create manifest list and push - name: Create manifest list and push
working-directory: /tmp/digests working-directory: /tmp/digests