Skip to content

Commit

Permalink
Set precise version for cosign and ko matching go1.22 in installation
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas-Peiffer <102670102+Nicolas-Peiffer@users.noreply.github.com>
  • Loading branch information
Nicolas-Peiffer committed Oct 16, 2024
1 parent bd4ce0c commit 16908e4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,12 @@ RUN apt-get update && apt-get install -y \
FROM builder-base as buidler-goreleaser

ARG GORELEASER_VERSION
ARG COSIGN_VERSION
ARG KO_VERSION

RUN go install github.com/goreleaser/goreleaser/v2@v$GORELEASER_VERSION \
&& go install github.com/sigstore/cosign/v2/cmd/cosign@latest \
&& go install github.com/google/ko@latest
&& go install github.com/sigstore/cosign/v2/cmd/cosign@v$COSIGN_VERSION \
&& go install github.com/google/ko@$KO_VERSION

#==============================================================================#
# installing trivy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,12 @@ RUN apt-get update && apt-get install -y \
FROM builder-base as buidler-goreleaser

ARG GORELEASER_VERSION
ARG COSIGN_VERSION
ARG KO_VERSION

RUN go install github.com/goreleaser/goreleaser/v2@v$GORELEASER_VERSION \
&& go install github.com/sigstore/cosign/v2/cmd/cosign@latest \
&& go install github.com/google/ko@latest
&& go install github.com/sigstore/cosign/v2/cmd/cosign@v$COSIGN_VERSION \
&& go install github.com/google/ko@$KO_VERSION

#==============================================================================#
# installing trivy
Expand Down

0 comments on commit 16908e4

Please sign in to comment.