We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 504f80e + 99ae2f6 commit cee5b9fCopy full SHA for cee5b9f
php-build.bash
@@ -110,4 +110,7 @@ echo "$dockerfile" >> output.log 2>&1
110
docker build --tag "$docker_tag" --cache-from "$docker_tag" --file Dockerfile-php-build . >> output.log 2>&1
111
# Update the user's repository with the customised docker image, ready for the
112
# next Github Actions run.
113
-docker push "$docker_tag" >> output.log 2>&1
+if ! docker push "$docker_tag" >> output.log 2>&1; then
114
+ echo "WARNING: Failed to push Docker image to \"$docker_tag\", this is probably due to missing permissions on GitHub." >> output.log 2>&1
115
+ echo "Will continue as this is just an optimization to improve speed of next build." >> output.log 2>&1
116
+fi
0 commit comments