Commit 8ec6427a authored by Adrian Sutton's avatar Adrian Sutton

ci: Configure docker auth before attempting to publish.

parent d5429669
...@@ -231,6 +231,7 @@ jobs: ...@@ -231,6 +231,7 @@ jobs:
DOCKER_OUTPUT_DESTINATION="" DOCKER_OUTPUT_DESTINATION=""
if [ "<<parameters.publish>>" == "true" ]; then if [ "<<parameters.publish>>" == "true" ]; then
gcloud auth configure-docker <<parameters.registry>>
echo "Building for platforms $PLATFORMS and then publishing to registry" echo "Building for platforms $PLATFORMS and then publishing to registry"
DOCKER_OUTPUT_DESTINATION="--push" DOCKER_OUTPUT_DESTINATION="--push"
if [ "<<parameters.save_image_tag>>" != "" ]; then if [ "<<parameters.save_image_tag>>" != "" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment