diff --git a/Containerfile.goreleaser-ko-cosign-trivy-syft-x86-arm64-non-root-usr b/Containerfile.goreleaser-ko-cosign-trivy-syft-x86-arm64-non-root-usr index d78d276..ea8de72 100644 --- a/Containerfile.goreleaser-ko-cosign-trivy-syft-x86-arm64-non-root-usr +++ b/Containerfile.goreleaser-ko-cosign-trivy-syft-x86-arm64-non-root-usr @@ -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 diff --git a/Containerfile.goreleaser-ko-cosign-trivy-syft-x86-arm64-root-usr b/Containerfile.goreleaser-ko-cosign-trivy-syft-x86-arm64-root-usr index 39f84c7..a34f97e 100644 --- a/Containerfile.goreleaser-ko-cosign-trivy-syft-x86-arm64-root-usr +++ b/Containerfile.goreleaser-ko-cosign-trivy-syft-x86-arm64-root-usr @@ -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