Repository navigation
fix(pact_verifier_cli): extract release tarball into a workdir in Docker fetch stage - #608
Merged
Merged
Conversation
…ker fetch stage The fetch stage had no WORKDIR, so the tarball unpacked into / and `install pact-verifier /pact-verifier` failed with "are the same file", breaking the Docker image publish for v1.5.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The
pact_verifier_cliDocker image publish for v1.5.0 failed (run):The fetch stage had no
WORKDIR, so the release tarball unpacked into/and theinstallstep tried to copy the binary onto itself. This addsWORKDIR /distbefore the download step. The output path (/pact-verifier) and the final stage stay the same.Testing
Tested locally on each platform separately (no combined multi-platform build)
linux/amd64andlinux/arm64builds both succeed, anddocker run … --versionreportspact verifier version : v1.5.0After merge, the Docker publish for
pact_verifier_cli-v1.5.0needs to be re-run. The release files are already uploaded.🤖 Generated with Claude Code