Skip to content

Fix problems with keychain#21

Merged
ethanholz merged 2 commits into
omsf:mainfrom
dwhswenson:fix-keychain
Mar 17, 2026
Merged

Fix problems with keychain#21
ethanholz merged 2 commits into
omsf:mainfrom
dwhswenson:fix-keychain

Conversation

@dwhswenson
Copy link
Copy Markdown
Member

I was occasionally getting failures when deploying images due to some repeat authorization in the keychain. This apparently fixes it.

I was occasionally getting failures when deploying images due to some
repeat authorization in the keychain. This apparently fixes it.
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request addresses keychain credential helper conflicts that were causing occasional failures during Docker image deployment. The solution adds an ephemeral Docker configuration directory to isolate Docker credentials from the host system's keychain.

Changes:

  • Introduced ephemeral DOCKER_CONFIG directory using mktemp -d with cleanup trap
  • Applied the same fix consistently across three Terraform modules that perform Docker operations
  • Added inline comments documenting the purpose of the ephemeral configuration

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
modules/lambda-image-republish/main.tf Adds ephemeral Docker config before pulling from public ECR and pushing to private ECR
modules/lambda-image-public/main.tf Adds ephemeral Docker config before building and pushing to public ECR
modules/lambda-image-build/main.tf Adds ephemeral Docker config before building and pushing to private ECR

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread modules/lambda-image-republish/main.tf Outdated
Comment thread modules/lambda-image-public/main.tf Outdated
Comment thread modules/lambda-image-build/main.tf Outdated
@dwhswenson dwhswenson requested a review from ethanholz February 21, 2026 02:39
@ethanholz
Copy link
Copy Markdown
Contributor

@dwhswenson could you please provide a reference to where this was found? I am having trouble finding references for this.

@ethanholz ethanholz merged commit 3f04ed4 into omsf:main Mar 17, 2026
1 check passed
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