Skip to content

Commit

Permalink
Build containers for pushes to main and only published releases
Browse files Browse the repository at this point in the history
  • Loading branch information
webbnh committed Sep 1, 2023
1 parent 63181b5 commit 41695d9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/container_build.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: Create and publish a Docker image

# Configure this workflow to run every time a change is pushed to a branch
# whose name starts with `release/` or any time a tag is created; this workflow
# is also run any time a GitHub release is created or updated ("unpublish" and
# deletions do not cause it to run).
# Configure this workflow to run every time a change is pushed to the main
# branch or any branch whose name starts with `release/` or any time a tag is
# created; this workflow is also run any time a GitHub release is published.
# The image will be given a tag which is based on the trigger.
on:
push:
branches: ['release/**']
branches: [main, 'release/**']
tags: ['*']
release:
types: [created, edited, prereleased, published, released]
types: [published]

# Set up the container image specification to be `quay.io/pbench/file-relay`.
env:
Expand Down

0 comments on commit 41695d9

Please sign in to comment.