Skip to content

Commit f3f4b58

Browse files
authored
chore(golang): Bump version of Golang to 1.24.4 and fix CVEs (#2122)
Signed-off-by: Javier Rodriguez <[email protected]>
1 parent 14c9c94 commit f3f4b58

File tree

13 files changed

+17
-17
lines changed

13 files changed

+17
-17
lines changed

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: Set up Go
4949
uses: actions/setup-go@be3c94b385c4f180051c996d336f57a34c397495 # v3.6.1
5050
with:
51-
go-version: "1.24.2"
51+
go-version: "1.24.4"
5252

5353
# Initializes the CodeQL tools for scanning.
5454
- name: Initialize CodeQL

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
steps:
2727
- uses: actions/setup-go@be3c94b385c4f180051c996d336f57a34c397495 # v3.6.1
2828
with:
29-
go-version: "1.24.2"
29+
go-version: "1.24.4"
3030

3131
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
3232

@@ -67,7 +67,7 @@ jobs:
6767
6868
- uses: actions/setup-go@be3c94b385c4f180051c996d336f57a34c397495 # v3.6.1
6969
with:
70-
go-version: "1.24.2"
70+
go-version: "1.24.4"
7171

7272
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
7373

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
- name: Set up Go
7979
uses: actions/setup-go@be3c94b385c4f180051c996d336f57a34c397495 # v3.6.1
8080
with:
81-
go-version: "1.24.2"
81+
go-version: "1.24.4"
8282

8383
# install qemu binaries for multiarch builds (needed by goreleaser/buildx)
8484
- name: Setup qemu

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
2828
- uses: actions/setup-go@be3c94b385c4f180051c996d336f57a34c397495 # v3.6.1
2929
with:
30-
go-version: "1.24.2"
30+
go-version: "1.24.4"
3131
cache: true
3232
cache-dependency-path: go.sum
3333

@@ -42,7 +42,7 @@ jobs:
4242
- name: Generate migrations
4343
if: ${{ matrix.app == 'controlplane' }}
4444
env:
45-
ATLAS_VERSION: v0.32.0
45+
ATLAS_VERSION: v0.35.0
4646
run: |
4747
wget -q https://release.ariga.io/atlas/atlas-linux-amd64-$ATLAS_VERSION -O /tmp/atlas
4848
sudo install /tmp/atlas /usr/local/bin/atlas

app/artifact-cas/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.24@sha256:991aa6a6e4431f2f01e869a812934bd60fbc87fb939e4a1ea54b8494ab9d2fc6 AS builder
1+
FROM golang:1.24.4@sha256:be70d93633d07a2acae4ff3401672b04f23e5850b0248d65c23e30dc75dded09 AS builder
22

33
# Not linked libraries since it will be injected into a scratch container
44
ENV CGO_ENABLED=0

app/artifact-cas/Dockerfile.goreleaser

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.24@sha256:991aa6a6e4431f2f01e869a812934bd60fbc87fb939e4a1ea54b8494ab9d2fc6 AS builder
1+
FROM golang:1.24.4@sha256:be70d93633d07a2acae4ff3401672b04f23e5850b0248d65c23e30dc75dded09 AS builder
22

33
FROM scratch
44

app/cli/Dockerfile.goreleaser

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.24@sha256:991aa6a6e4431f2f01e869a812934bd60fbc87fb939e4a1ea54b8494ab9d2fc6 AS builder
1+
FROM golang:1.24.4@sha256:be70d93633d07a2acae4ff3401672b04f23e5850b0248d65c23e30dc75dded09 AS builder
22
RUN mkdir -p /.config/chainloop
33

44
FROM scratch

app/controlplane/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.24@sha256:991aa6a6e4431f2f01e869a812934bd60fbc87fb939e4a1ea54b8494ab9d2fc6 AS builder
1+
FROM golang:1.24.4@sha256:be70d93633d07a2acae4ff3401672b04f23e5850b0248d65c23e30dc75dded09 AS builder
22

33
# Not linked libraries since it will be injected into a scratch container
44
ENV CGO_ENABLED=0

app/controlplane/Dockerfile.goreleaser

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.24@sha256:991aa6a6e4431f2f01e869a812934bd60fbc87fb939e4a1ea54b8494ab9d2fc6 AS builder
1+
FROM golang:1.24.4@sha256:be70d93633d07a2acae4ff3401672b04f23e5850b0248d65c23e30dc75dded09 AS builder
22

33
FROM scratch
44

app/controlplane/Dockerfile.migrations

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Container image built by go-releaser that's used to run migrations against the database during deployment
22
# See https://atlasgo.io/guides/deploying/image
33
# from: arigaio/atlas:latest
4-
# docker run arigaio/atlas@sha256:5b52e74c938e2e32df081be435501d0de8f7a019840d7cc844997e6af0061bc1 version
5-
# atlas version v0.32.1-819f32c-canary
6-
FROM arigaio/atlas@sha256:5b52e74c938e2e32df081be435501d0de8f7a019840d7cc844997e6af0061bc1 as base
4+
# docker run arigaio/atlas@sha256:16739cffc8d44d04e76f58842dc12835e183fe7164d0ae55544fc8bc9fbb1e33 version
5+
# atlas version v0.35.0
6+
FROM arigaio/atlas@sha256:16739cffc8d44d04e76f58842dc12835e183fe7164d0ae55544fc8bc9fbb1e33 as base
77

88
FROM scratch
99
# Update permissions to make it readable by the user

0 commit comments

Comments
 (0)