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

Added host to docker login command #2418

Merged
merged 1 commit into from
Aug 26, 2020
Merged

Added host to docker login command #2418

merged 1 commit into from
Aug 26, 2020

Conversation

jpkrohling
Copy link
Contributor

Signed-off-by: Juraci Paixão Kröhling [email protected]

Which problem is this PR solving?

  • Hopefully, this is solving the failure to push images to Docker Hub.

Short description of the changes

  • Added hostname to docker login command.

Signed-off-by: Juraci Paixão Kröhling <[email protected]>
@jpkrohling jpkrohling requested a review from a team as a code owner August 26, 2020 08:17
@@ -33,7 +33,7 @@ fi

# Do not enable echo before the `docker login` command to avoid revealing the password.
set -x
docker login -u $DOCKER_USER -p $DOCKER_PASS
docker login docker.io -u $DOCKER_USER -p $DOCKER_PASS
Copy link
Member

Choose a reason for hiding this comment

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

docker.io redirects to docker.com shouldn't the com domain be used?

Copy link
Contributor Author

@jpkrohling jpkrohling Aug 26, 2020

Choose a reason for hiding this comment

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

The image is tagged for docker.io by default. When pushing docker.io/jaegertracing/...., the credentials for docker.io are used.

@codecov
Copy link

codecov bot commented Aug 26, 2020

Codecov Report

Merging #2418 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2418      +/-   ##
==========================================
- Coverage   95.57%   95.56%   -0.02%     
==========================================
  Files         208      208              
  Lines       10676    10678       +2     
==========================================
  Hits        10204    10204              
- Misses        400      401       +1     
- Partials       72       73       +1     
Impacted Files Coverage Δ
cmd/query/app/server.go 91.11% <0.00%> (-2.23%) ⬇️
pkg/multicloser/multicloser.go 100.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6511d44...1999ed3. Read the comment docs.

@jpkrohling jpkrohling merged commit 44ce2bd into jaegertracing:master Aug 26, 2020
@jpkrohling jpkrohling linked an issue Aug 26, 2020 that may be closed by this pull request
@jpkrohling jpkrohling deleted the Add-host-to-docker-login branch July 28, 2021 19:22
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.

Publishing latest image is broken
2 participants