MarkEdmondson1234 / googleCloudRunner

Easy R scripts on Google Cloud Platform via Cloud Run, Cloud Build and Cloud Scheduler
https://code.markedmondson.me/googleCloudRunner/
Other
80 stars 25 forks source link

Image tags update due to Docker client #196

Closed brancengregory closed 2 years ago

brancengregory commented 2 years ago

Per the Cloud Build changelog (https://cloud.google.com/build/docs/release-notes) and associated documentation (https://cloud.google.com/build/docs/interacting-with-dockerhub-images#working_with_docker_client_versions), the docker push command must be passed the -a flag to push all image tags. Otherwise only the latest tag will be applied

MarkEdmondson1234 commented 2 years ago

Ah cool! I have some logic in to build and push multiple Docker tags, this makes it simpler to achieve.