Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build containers for pushes to main and only published releases #13

Merged
merged 1 commit into from
Sep 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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