File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -37,15 +37,16 @@ jobs:
3737 # Display the current environment variables used throughout building
3838 # -- useful for debugging
3939 env_var_inventory
40+ set -x
41+
42+ if [[ "$(git log -1 --pretty=%B | head -n 1)" == *"[image skip]"* ]]; then
4043
41- if [[ "${{ github.event.head_commit.message }}" == *"[image skip]"* ]]; then
4244 if tag_exists $BASE_BUSYBOX_IMAGE_NAME latest \
4345 && tag_exists $BASE_DEBIAN_IMAGE_NAME latest \
4446 && tag_exists $BUILD_ENV_IMAGE_NAME latest \
4547 && tag_exists $BOT_IMAGE_NAME latest \
4648 && tag_exists $ISSUE_RESPONDER_IMAGE_NAME latest \
47- && tag_exists $CREATE_ENV_IMAGE_NAME latest;
48- then
49+ && tag_exists $CREATE_ENV_IMAGE_NAME latest; then
4950 echo "DO_BUILD=false" >> $GITHUB_OUTPUT
5051 else
5152 echo "Although '[image skip]' was used in the commit message, no images exist on quay.io to use. So images will be built."
You can’t perform that action at this time.
0 commit comments