Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Use remoteImage function when getting digest for cache#413

Merged
priyawadhwa merged 1 commit intoGoogleContainerTools:masterfrom
priyawadhwa:auth
Oct 29, 2018
Merged

Use remoteImage function when getting digest for cache#413
priyawadhwa merged 1 commit intoGoogleContainerTools:masterfrom
priyawadhwa:auth

Conversation

@priyawadhwa
Copy link
Copy Markdown
Contributor

Issue #410 experienced an error with base image caching where they were
"Not Authorized" to get information for a remote image, but later were
able to download and extract the same base image.

To fix this, we can switch to using the remoteImage function for getting
information about the digest, which is the same function used for
downloading base images. This way we can also take advantage of the
--insecure and --skip-tls-verify flags if users pass those in when
trying to get digests for the cache as well.

Issue GoogleContainerTools#410 experienced an error with base image caching where they were
"Not Authorized" to get information for a remote image, but later were
able to download and extract the base image.

To fix this, we can switch to using the remoteImage function for getting
information about the digest, which is the same function used for
downloading base images. This way we can also take advantage of the
--insecure and --skip-tls-verify flags if users pass those in when
trying to get digests for the cache as well.
@priyawadhwa priyawadhwa merged commit 632bedf into GoogleContainerTools:master Oct 29, 2018
@priyawadhwa priyawadhwa deleted the auth branch October 29, 2018 17:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants