Skip to content

Commit

Permalink
containers: set latest tag when Action is run through dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
skrobul committed Aug 6, 2024
1 parent 5fbcf93 commit 2980a92
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ jobs:
with:
images: ghcr.io/rackerlabs/understack/dnsmasq
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=raw,value=latest,enable={{ is_default_branch }}
type=raw,value=latest,enable=${{ github.event_name == 'workflow_dispatch' }}
type=sha,enable={{is_default_branch}}
type=ref,event=branch
labels: |
org.opencontainers.image.title=dnsmasq for Understack's Ironic
env:
Expand Down Expand Up @@ -130,9 +130,9 @@ 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
type=ref,event=branch
labels: |
org.opencontainers.image.title=${{ matrix.container.title }}
env:
Expand Down

0 comments on commit 2980a92

Please sign in to comment.