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 additional_private_registries on alpine #352

Merged
merged 2 commits into from
Feb 22, 2023
Merged

fix additional_private_registries on alpine #352

merged 2 commits into from
Feb 22, 2023

Conversation

mstandley-tempus
Copy link
Contributor

@mstandley-tempus mstandley-tempus commented Feb 17, 2023

The additional_private_registries parameter (from this PR: #345) is broken when when this resource type is built using the alpine linux Dockerfile, but it works as intended using the ubuntu Dockerfile.

The reason for this is because alpine's base64 doesn't accept --decode. Both ubuntu and alpine understand -d, so let's change it to pass that instead.

Crucially, the docker-image resource type bundled with concourse is built from the alpine Dockerfile, so additional_private_registries will not work until this is merged, released, and bundled into a new version of concourse.

Signed-off-by: Michael Standley <michael.standley@tempus.com>
@mstandley-tempus
Copy link
Contributor Author

@xtremerui can you please review my PR?

@xtremerui
Copy link
Contributor

xtremerui commented Feb 21, 2023

Hi thank you for the PR. Is it possbile to add a test here?

Signed-off-by: Michael Standley <michael.standley@tempus.com>
@mstandley-tempus
Copy link
Contributor Author

Hi thank you for the PR. Is it possbile to add a test here?

yes @xtremerui -- added!

Copy link
Contributor

@xtremerui xtremerui left a comment

Choose a reason for hiding this comment

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

LGTM!

@xtremerui xtremerui merged commit 189e9e2 into concourse:master Feb 22, 2023
@mstandley-tempus mstandley-tempus deleted the fix_additional_private_registries branch February 22, 2023 17:43
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.

None yet

2 participants