Skip to content

Commit

Permalink
Merge pull request #266 from cpanato/update-go121
Browse files Browse the repository at this point in the history
bump go1.21 to use 1.21.8
  • Loading branch information
gythialy committed Mar 7, 2024
2 parents 53a65ab + d2f32ec commit 737bdb7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/builder.yml
Expand Up @@ -5,10 +5,10 @@ on:
inputs:
builder-tag:
description: golang cross builder tag name
default: v1.21.7-0
default: v1.21.8-0
golang-version:
description: golang version
default: "1.21.7"
default: "1.21.8"
osxcross-git-hash:
description: git commit hash of osx-cross project
default: "3dcc13644cfaa3d7ea6a959acbe0f1a23cf2df72"
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Expand Up @@ -8,10 +8,10 @@ COPY entrypoint.sh /
# install cosign
COPY --from=ghcr.io/sigstore/cosign/cosign:v2.2.3@sha256:8fc9cad121611e8479f65f79f2e5bea58949e8a87ffac2a42cb99cf0ff079ba7 /ko-app/cosign /usr/local/bin/cosign
# install syft
COPY --from=docker.io/anchore/syft:v0.102.0@sha256:fbbdb5f60a9db9400d49801bf70b19c29ac054b370dbccf538399918bbdf38a7 /syft /usr/local/bin/syft
COPY --from=docker.io/anchore/syft:v1.0.1@sha256:d49defada853900861d55491ba549ab334148d51b11f23942abecb39ea83d4db /syft /usr/local/bin/syft

ARG GO_VERSION=go1.21.7
ARG GOLANG_DIST_SHA=13b76a9b2a26823e53062fa841b07087d48ae2ef2936445dc34c4ae03293702c
ARG GO_VERSION=go1.21.8
ARG GOLANG_DIST_SHA=538b3b143dc7f32b093c8ffe0e050c260b57fc9d57a12c4140a639a8dd2b4e4f
# update golang
RUN \
GOLANG_DIST=https://storage.googleapis.com/golang/${GO_VERSION}.linux-amd64.tar.gz && \
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.builder
@@ -1,9 +1,9 @@
# golang parameters
ARG GO_VERSION=1.21.7
ARG GO_VERSION=1.21.8

FROM ghcr.io/gythialy/osx-sdk:v13 AS osx-sdk

FROM golang:${GO_VERSION:-1.21.7}-bookworm AS base
FROM golang:${GO_VERSION:-1.21.8}-bookworm AS base

# osxcross parameters
ARG OSX_VERSION_MIN=10.12
Expand Down

0 comments on commit 737bdb7

Please sign in to comment.