upload-release: Also push to GHCR as part of the release process

(cherry picked from commit a1569458cc)
This commit is contained in:
Sergei Zimmerman
2025-12-29 23:01:54 +03:00
committed by github-actions[bot]
parent e999426f05
commit 1e6dad7e2f
3 changed files with 18 additions and 6 deletions

View File

@@ -96,11 +96,6 @@ jobs:
docker tag nix:$NIX_VERSION $IMAGE_ID:$NIX_VERSION
docker push $IMAGE_ID:$NIX_VERSION
if [ "$IS_MASTER" = "true" ]; then
# FIXME: Do not tag master as latest. Upload to GHCR as part of
# releng instead. Possibly adapt this reusable workflow for the (yet
# nonexistent) release workflow.
docker tag nix:$NIX_VERSION $IMAGE_ID:latest
docker tag nix:$NIX_VERSION $IMAGE_ID:master
docker push $IMAGE_ID:latest
docker push $IMAGE_ID:master
fi