container-image workflow: Tag latest only on release

This commit is contained in:
Eric Lippmann 2025-04-01 09:36:29 +02:00 committed by Yonas Habteab
parent 5cd9ab244d
commit 678656129a

View File

@ -58,7 +58,7 @@ jobs:
type=semver,pattern={{major}}
# Update the `latest` tag only on the default branch to ensure it represents the most current release when
# releasing from multiple branches.
type=raw,value=latest,enable={{is_default_branch}}
type=raw,event=tag,value=latest,enable={{is_default_branch}}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3