Skip to content

Do not login or push to dockerhub if secrets not available in job#995

Merged
kyungeonchoi merged 1 commit intodevelopfrom
let-dependabot-build
Mar 18, 2025
Merged

Do not login or push to dockerhub if secrets not available in job#995
kyungeonchoi merged 1 commit intodevelopfrom
let-dependabot-build

Conversation

@ponyisi
Copy link
Copy Markdown
Collaborator

@ponyisi ponyisi commented Mar 10, 2025

It's important that dependabot be able to build docker images to test that the updated poetry.lock files actually work in the container build process. The current setup requires that the Docker Hub secrets be present in the CI job or else things will fail, and dependabot does not have access to these. Use a conditional to avoid pushing the images, and just check we can build them.

Copy link
Copy Markdown
Contributor

@kyungeonchoi kyungeonchoi left a comment

Choose a reason for hiding this comment

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

Thanks!

@kyungeonchoi kyungeonchoi merged commit 9f70983 into develop Mar 18, 2025
71 checks passed
@kyungeonchoi kyungeonchoi deleted the let-dependabot-build branch March 18, 2025 15:46
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.

2 participants