Skip to content

Commit

Permalink
CI: default images when running in a PR
Browse files Browse the repository at this point in the history
  • Loading branch information
ABeltramo committed Jun 22, 2024
1 parent 73bab9c commit 629bec6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ jobs:
echo "cache_from=type=registry,ref=${REGISTRY_IMAGE}:buildcache" >> $GITHUB_OUTPUT
echo "cache_to=" >> $GITHUB_OUTPUT
fi
# No token present, might be a PR. Allow build without push
if [ "$IMAGES" = "" ]; then
IMAGES="gameonwhales/inputtino"
PUSH=false
fi
echo "images=${IMAGES}" >> $GITHUB_OUTPUT
echo "push=${PUSH}" >> $GITHUB_OUTPUT
echo "github_server_url=${GITHUB_SERVER_URL}" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 629bec6

Please sign in to comment.