Skip to content

Commit

Permalink
Update Go to 1.22.1
Browse files Browse the repository at this point in the history
Signed-off-by: Phil Estes <estesp@gmail.com>
  • Loading branch information
estesp committed Mar 11, 2024
1 parent 67720b6 commit 57d3567
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

strategy:
matrix:
go-version: [1.21.5]
go-version: [1.22.1]
os: [ubuntu-20.04, macos-12, windows-2019]

steps:
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21.5
go-version: '1.22.1'

- name: Set env
shell: bash
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
steps:
- uses: actions/setup-go@v4
with:
go-version: '1.21.5'
go-version: '1.22.1'

- name: Set env
shell: bash
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
steps:
- uses: actions/setup-go@v4
with:
go-version: '1.21.5'
go-version: '1.22.1'

- name: Set env
shell: bash
Expand Down Expand Up @@ -184,7 +184,7 @@ jobs:
steps:
- uses: actions/setup-go@v4
with:
go-version: '1.21.5'
go-version: '1.22.1'

- name: Set env
shell: bash
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: '1.21.5'
go-version: '1.22.1'

- name: Set env
shell: bash
Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: '1.21.5'
go-version: '1.22.1'

- name: Set env
shell: bash
Expand Down Expand Up @@ -195,7 +195,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: '1.21.5'
go-version: '1.22.1'

- name: Set env
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.20
FROM golang:1.22

RUN go install golang.org/x/tools/cmd/cover@latest \
&& go install golang.org/x/lint/golint@latest
Expand Down
4 changes: 2 additions & 2 deletions hack/Dockerfile.alpine
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM golang:1.21.5-alpine AS bld
FROM --platform=$BUILDPLATFORM golang:1.22.1-alpine AS bld
ARG TARGETPLATFORM
ARG TARGETARCH
ARG TARGETVARIANT
Expand All @@ -25,7 +25,7 @@ WORKDIR /manifest-tool
COPY . /manifest-tool
RUN /manifest-tool/hack/makestatic.sh $TARGETARCH ${TARGETVARIANT#v}

FROM --platform=$TARGETPLATFORM alpine:3.17.0
FROM --platform=$TARGETPLATFORM alpine:3.19.1
COPY --from=bld /manifest-tool/manifest-tool /manifest-tool
COPY --from=bld /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=bld --chown=0:0 /go/bin/docker-credential-gcr /usr/bin/docker-credential-gcloud
Expand Down
2 changes: 1 addition & 1 deletion hack/Dockerfile.linux
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM golang:1.21.5-alpine AS bld
FROM --platform=$BUILDPLATFORM golang:1.22.1-alpine AS bld
ARG TARGETPLATFORM
ARG TARGETARCH
ARG TARGETVARIANT
Expand Down

0 comments on commit 57d3567

Please sign in to comment.