Skip to content
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

Match docker image id on full output from list when building #13489

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

allisonlarson
Copy link
Member

When checking if a docker image exists or should be rebuilt during a vagrant up, check the image presence against the full & not truncated list of docker images ids (docker images -q --no-trunc). Adjusts the regex matching to account for additional characters in the not truncated output, which has been added as a test case.

fixes #13384

@allisonlarson allisonlarson merged commit 2cb8183 into hashicorp:main Aug 16, 2024
12 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docker rebuild existing image due to incorrect check
2 participants