cyberark / summon

CLI that provides on-demand secrets access for common DevOps tools
https://cyberark.github.io/summon
MIT License
706 stars 63 forks source link

Fixes for GoReleaser v1.8.x #231

Closed john-odonnell closed 2 years ago

john-odonnell commented 2 years ago

Desired Outcome

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

Connected Issue/Story

CyberArk internal issue link: ONYX-19910

Definition of Done

Changelog

Test coverage

Documentation

Behavior

Security