Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

sreya
Copy link
Collaborator

@sreya sreya commented Oct 20, 2024

This PR fixes authentication not working if Username, Password fields are omitted in favor of an Auth field. The Auth field can be a base64 encoded concatenation of the two. This PR also adds logic to existing integration tests to ensure authenticated pulls work as expected.

fixes #102

Add `//nolint:gosec` comment to disable linter for the `docker
push` command in integration tests. This is necessary to bypass
false positives related to the handling of the `exec.Command`
which are considered secure in this test context.
@sreya sreya requested a review from johnstcn October 21, 2024 01:13
@sreya sreya merged commit e557d25 into main Oct 21, 2024
9 checks passed
@sreya sreya deleted the jon/fixpull branch October 21, 2024 15:53
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.

envbox "CODER_IMAGE_PULL_SECRET" should allow the "auth" field on it's own
2 participants