Jenkins build was failing because the Dockerfile could not find Summon binary:
Step 11/13 : COPY ./dist/goreleaser/summon-linux_linux_amd64/summon /bin/summon
COPY failed: file not found in build context or excluded by .dockerignore: stat dist/goreleaser/summon-linux_linux_amd64/summon: file does not exist
GoReleaser's recent update to v1.8.x brought changes to the output binary naming pattern.
The binary is now found at ./dist/goreleaser/summon-linux_linux_amd64_v1/summon.
Implemented Changes
Dockerfile copies binary from updated directory.
Binary dirs listed in CONTRIBUTING.md updated for GoReleaser v1.8.x.
Desired Outcome
Jenkins build was failing because the Dockerfile could not find Summon binary:
GoReleaser's recent update to v1.8.x brought changes to the output binary naming pattern. The binary is now found at
./dist/goreleaser/summon-linux_linux_amd64_v1/summon
.Implemented Changes
CONTRIBUTING.md
updated for GoReleaser v1.8.x.Connected Issue/Story
CyberArk internal issue link: ONYX-19910
Definition of Done
cyberark/summon
failing CI buildChangelog
Test coverage
Documentation
README
s) were updated in this PRBehavior
Security