Skip to content

Replace docker/login-action with inline docker login#8694

Open
inahga wants to merge 4 commits intomainfrom
replace-docker-login-action
Open

Replace docker/login-action with inline docker login#8694
inahga wants to merge 4 commits intomainfrom
replace-docker-login-action

Conversation

@inahga
Copy link
Copy Markdown
Contributor

@inahga inahga commented Mar 30, 2026

Drop dependency on docker/login-action by replacing it with a simple
docker login command. Just reduces our supply chain exposure a bit.

Drop dependency on docker/login-action by replacing it with a simple
docker login command. Just reduces our supply chain exposure a bit.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@inahga inahga requested a review from a team as a code owner March 30, 2026 18:04
@inahga inahga requested a review from aarongable March 30, 2026 18:04
@inahga inahga marked this pull request as draft March 30, 2026 18:05
@inahga inahga marked this pull request as ready for review March 30, 2026 18:09
# Password or personal access token used to log against the Docker registry
password: ${{ secrets.DOCKER_PASSWORD}}
# Log out from the Docker registry at the end of a job
logout: true
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We lose logout at the end of the job, but I think this is moot. The runner is discarded after each matrix run.

Comment on lines +78 to +81
- name: Login to GitHub Container Registry
run: printenv GITHUB_TOKEN | docker login -u "$GITHUB_ACTOR" --password-stdin ghcr.io
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is incorrect -- we're not logging into ghcr.io here, and we can't use GITHUB_TOKEN to authenticate. We're logging in to dockerhub itself, so that we don't get hit by ratelimits when downloading the boulder_tools image.

@aarongable aarongable requested a review from jsha April 2, 2026 21:13
@inahga inahga requested a review from aarongable April 6, 2026 18:36
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.

3 participants