-
Notifications
You must be signed in to change notification settings - Fork 87
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
ci: Add docker auth to circleci config #695
Conversation
@eeeady is this it? Or am I missing something else that needs to happen here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure looks right to me. I don't know if we need to do any config changes in CircleCi though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed that CircleCI job passed and that env vars are set in CI correctly.
I forgot to comment before... sorry Hana! It looks like it would work but when I check the workflow in CircleCI it doesn't seem like it's using the credentials. We might need to make changes so that the context stuff works. One moment. |
So if you look at the job in circleci it looks good but if you click into "spin up environment" you'll see the lines:
so the job isn't using the auth we think you set up. I think I can make a PR against yours OR I can pull this branch down and make changes. Do you have a preference @haworku ? |
We might need to change branch protections to block on "build" rather than "workflow" from circleci. |
Made the branch protection change. Checking the build job for the output I want to see. |
Output is expected. no warning:
|
@eeeady thanks for pointing to the place in the circleci build specifically where the warning was. Entirely missed that! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch @eeeady
jobs: | ||
- build: | ||
context: | ||
- org-global |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
are there other repos that now need this same change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for asking! I've gotten most of our other repos. I think there are a few PRs that I still need to clean up.
Summary
Update config to add auth.
Related Issues or PRs
closes #633
How To Test