I currently use Cloud Build to build my app as a Docker image based on a Dockerfile. All this works fine.
However, I would like to build/push an existing image (without a Dockerfile): quay.io/soketi/soketi:1.0-16-debian
How can I instruct Cloud Build to tag/push the above Docker image hosted on quay.io?
Once I push the image, I will create a Cloud Run based on the socket image.
Thank you
2
Answers
I would create an image from the Dockerfile containing one line:
and push it (submit) with a desired tag.
You can do it directly by pulling the image, add the new tag and push it to the new registry in one step:
Of course you can change the registry and only if you want to re-tag the image