Push build images from CI

This commit is contained in:
Cameron Gutman
2025-11-01 14:12:22 -05:00
parent dc45b12b7e
commit b2e921902f
2 changed files with 11 additions and 0 deletions

View File

@@ -23,3 +23,8 @@ else
fi
docker run --rm --mount type=bind,source="$(pwd)"/$OUT_DIR,target=/out --mount type=bind,source="$(pwd)"/debian,target=/opt/debian -e COMMIT="$3" cgutman/moonlight-packaging:$TAG_NAME
# Push the image now if we're building master in GitHub Actions
if [ $PULL_EXIT_CODE -ne 0 ] && [ "$GITHUB_REF" == "refs/heads/master" ]; then
docker push cgutman/moonlight-packaging:$TAG_NAME
fi