chore: Migrate images from GCR to AR #153
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Background
gcr.io/sic-container-repo/todo-fegcr.io/sic-container-repo/todo-apigcr.io/sic-container-repo/todo-api-postgres:latestgcr.ioimages are using AR under the hood.Changes in this pull-request
google-samplesproject.gcr.io/sic-container-repo/todo-feus-docker.pkg.dev/google-samples/containers/jss/three-tier-web-app-fe:v0.0.1gcr.io/sic-container-repo/todo-apius-docker.pkg.dev/google-samples/containers/jss/three-tier-web-app-api:v0.0.1gcr.io/sic-container-repo/todo-api-postgres:latestus-docker.pkg.dev/google-samples/containers/jss/three-tier-web-app-api-postgres:v0.0.1sic-container-repoproject (so I couldn’t just migrate the gcr.io URLs to Artifact Registry.) Plus, other JSSs use the google-samples project for their images (e.g., this image). Update: As of Oct 2024, I now have access to thesic-container-repoproject and the gcr.io images are using AR under the hood.How to review
docker inspectto extract theRootFS.Layersvalue and check that the hashes match:The use of the
docker inspectcommand is suggested in this StackOverflow post.