diff --git a/.github/workflows/containers.yaml b/.github/workflows/containers.yaml index 35633394d..fbf4443f3 100644 --- a/.github/workflows/containers.yaml +++ b/.github/workflows/containers.yaml @@ -83,6 +83,7 @@ jobs: images: ghcr.io/rackerlabs/understack/dnsmasq tags: | type=raw,value=latest,enable={{is_default_branch}} + type=raw,value=latest,enable=${{ github.event_name == 'workflow_dispatch' }} type=sha,enable={{is_default_branch}} labels: | org.opencontainers.image.title=dnsmasq for Understack's Ironic @@ -130,6 +131,7 @@ jobs: images: ghcr.io/rackerlabs/understack/${{ matrix.container.name }} tags: | type=raw,value=latest,enable={{is_default_branch}} + type=raw,value=latest,enable=${{ github.event_name == 'workflow_dispatch' }} type=ref,event=tag type=ref,event=pr labels: |