1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-26 04:22:05 +02:00

fix: cosign is on /ko-app

after looking into it with docker inspect, it seem the binary is actually on /ko-app instead of /bin.

build was failing on master (branches are not running the whole goreleaser process rn)

cc/ @cpanato
This commit is contained in:
Carlos A Becker 2021-11-18 23:34:19 -03:00
parent dd831a09b2
commit 0e964a134a
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -11,7 +11,7 @@ RUN apk add --no-cache bash \
tini
# install cosign
COPY --from=gcr.io/projectsigstore/cosign:v1.3.1@sha256:3cd9b3a866579dc2e0cf2fdea547f4c9a27139276cc373165c26842bc594b8bd /bin/cosign /usr/local/bin/cosign
COPY --from=gcr.io/projectsigstore/cosign:v1.3.1@sha256:3cd9b3a866579dc2e0cf2fdea547f4c9a27139276cc373165c26842bc594b8bd /ko-app/cosign /usr/local/bin/cosign
ENTRYPOINT ["/sbin/tini", "--", "/entrypoint.sh"]
CMD [ "-h" ]