Skip to content

Commit

Permalink
chore: enable container builds on more events
Browse files Browse the repository at this point in the history
For testing allow us to build the containers. Allow workflow_dispatch to
rebuild the containers. Always push the container when running a PR.
  • Loading branch information
skrobul authored and cardoe committed Aug 6, 2024
1 parent 05a08b5 commit 06909a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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: |
Expand Down

0 comments on commit 06909a9

Please sign in to comment.