Skip to content

Commit 5546086

Browse files
author
Patrick J. McNerthney
committed
Only publish specific versions to ghcr.io
1 parent 5b2bf0e commit 5546086

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,8 @@ jobs:
217217
# pushes them as a multi-platform package. We only push the package it the
218218
# XPKG_ACCESS_ID and XPKG_TOKEN secrets were provided.
219219
push-xpkg:
220+
# Don't publish unless we were run with an explicit version.
221+
if: ${{ inputs.version != '' }}
220222
needs:
221223
- build-xpkg
222224
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)