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 for registry password not being inserted due to single quotes #299

Merged
merged 2 commits into from
Jul 31, 2018

Conversation

ConorPKeegan
Copy link
Contributor

@ConorPKeegan ConorPKeegan commented Jul 30, 2018

The insertion of the single quotes before the 2.0.0 release has caused anything that uses the registry to no longer work. With the single quotes you end up with the login command looking like:

docker login -u '<USERNAME>' -p '${password}' <SERVER>

The problem is with '$password', as single quotes prevent the variable from being changed into the environment variable. You can only insert like this with double quotes.

@florindragos
Copy link
Contributor

florindragos commented Jul 31, 2018

👍 LGTM

@davejrt davejrt merged commit 558b94c into puppetlabs:master Jul 31, 2018
florindragos pushed a commit to florindragos/puppetlabs-docker that referenced this pull request Aug 14, 2018
…ppetlabs#299)

* Fix registry password not being inserted due to single quotes

* Update tests to accept password with double quotes
@bramblek1
Copy link

Thanks for finding that @ConorPKeegan - this drove me totally crazy.

@Ramesh7 Ramesh7 added the bugfix label Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants