Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ECR authentication failure #2337

Merged
merged 1 commit into from
Aug 30, 2023
Merged

Fix ECR authentication failure #2337

merged 1 commit into from
Aug 30, 2023

Conversation

DrJosh9000
Copy link
Contributor

@DrJosh9000 DrJosh9000 commented Aug 30, 2023

containers/skopeo#1909 summary:

Skopeo 1.11 changed behavior - when an --authfile flag or REGISTRY_AUTH_FILE env var is present, it read only that file for creds. We weren't setting that flag/var ourselves but the skopeo container does:

https://github.com/containers/skopeo/blob/7f2f46e1b97df36b2b82d1b1d87c81b8b3d21601/contrib/skopeoimage/stable/Containerfile#L44

Skopeo 1.11 changed behavior: when an `--authfile` flag is present, read
only those creds. We weren't settingthat flag ourselves but the skopeo
container does?
@DrJosh9000 DrJosh9000 changed the title Fix ECR authentication failure? Fix ECR authentication failure Aug 30, 2023
@DrJosh9000 DrJosh9000 requested a review from a team August 30, 2023 02:16
Copy link
Contributor

@triarius triarius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💖 for finding this!

@DrJosh9000 DrJosh9000 merged commit 7a2d02b into main Aug 30, 2023
@DrJosh9000 DrJosh9000 deleted the update-skopeo branch August 30, 2023 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants