Skip to content

fix(pact_verifier_cli): extract release tarball into a workdir in Docker fetch stage - #608

Merged
YOU54F merged 1 commit into
masterfrom
fix/verifier-cli-docker-workdir
Nov 13, 2026
Merged

YOU54F merged 1 commit into
masterfrom
fix/verifier-cli-docker-workdir

Conversation

@YOU54F

@YOU54F YOU54F commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Summary

The pact_verifier_cli Docker image publish for v1.5.0 failed (run):

install: 'pact-verifier' and '/pact-verifier' are the same file

The fetch stage had no WORKDIR, so the release tarball unpacked into / and the install step tried to copy the binary onto itself. This adds WORKDIR /dist before 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/amd64 and linux/arm64 builds both succeed, and docker run … --version reports pact verifier version : v1.5.0
  • The unfixed Dockerfile reproduces the CI error under the same setup

After merge, the Docker publish for pact_verifier_cli-v1.5.0 needs to be re-run. The release files are already uploaded.

🤖 Generated with Claude Code

…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>
@YOU54F
YOU54F merged commit 6ccd8ce into master Nov 13, 2026
26 checks passed
@YOU54F
YOU54F deleted the fix/verifier-cli-docker-workdir branch November 13, 2026 14:56
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.

1 participant