Skip to content
Open
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions .github/workflows/docker-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ name: "GHCR: Command-Line Container"
on:
push:
branches: [main, development]
# release.yml creates the Release with GITHUB_TOKEN, which raises no
# workflow events, so `release:` below never fires. This is the path
# that produces a version-tagged image.
tags: ['v*']
paths:
# Only rebuild when these files change
- 'container/Containerfile'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/hpc-uw3-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ on:
- 'pyproject.toml'
- 'setup.py'
- 'src/**'
# Releases are the guaranteed path for a tagged image: the `tags:` filter above
# is combined with `paths:`, so a tag whose diff touches nothing in that list
# would not build on its own.
# Never fires in practice: release.yml creates the Release with
# GITHUB_TOKEN, which raises no workflow events. The `tags:` filter
# above is what builds the tagged image. Kept for a hand-published Release.
release:
types: [published]
workflow_dispatch:
Expand Down
Loading