Skip to content

Commit 20d4b99

Browse files
cx-rui-gomescx-celso-silva
authored andcommitted
chore: update go image to 1.23.6 (#270)
Updating go image to 1.23.6 due to security fixes in go --------- Co-authored-by: arturfalcao <[email protected]>
1 parent 2c70200 commit 20d4b99

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/security.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ jobs:
6060
trivy-config: trivy.yaml
6161
exit-code: '1'
6262
env:
63-
TRIVY_SKIP_DB_UPDATE: true
64-
TRIVY_SKIP_JAVA_DB_UPDATE: true
63+
TRIVY_SKIP_DB_UPDATE: false
64+
TRIVY_SKIP_JAVA_DB_UPDATE: false
6565

6666

6767
secret-scanning:

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# and "Missing User Instruction" since 2ms container is stopped after scan
44

55
# Builder image
6-
FROM cgr.dev/chainguard/go@sha256:bec4bfc80786869dc30beca3d0bd437bd932f376dc6ac5b1f4dd6a5355ba11fc AS builder
6+
FROM cgr.dev/chainguard/go@sha256:36fee4a2334d13bbf585ad2225ea1ca99fe65de366022e561ac157de26fd5ed6 AS builder
77

88
WORKDIR /app
99

@@ -20,7 +20,7 @@ COPY . .
2020
RUN GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -a -o /app/2ms .
2121

2222
# Runtime image
23-
FROM cgr.dev/chainguard/git@sha256:d32fb4fbb132929abae2d2f742e3d3bfdbd4937caa7021299130ad096227ced0
23+
FROM cgr.dev/chainguard/git@sha256:1169e026c3296ffa346bc2035f08a3397a22cc72753669a943435518022fd270
2424

2525
WORKDIR /app
2626

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/checkmarx/2ms
22

3-
go 1.23.5
3+
go 1.23.6
44

55
require (
66
github.com/bwmarrin/discordgo v0.27.1

0 commit comments

Comments
 (0)