Skip to content

Commit

Permalink
Attempt to upgrade to golang 1.22
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Tweed <[email protected]>
  • Loading branch information
RichardoC committed Feb 15, 2024
1 parent 7af44a1 commit e1a8392
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion components/producers/golang-nancy/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ patches:
type: string
steps:
- name: go-deps
image: docker.io/golang:1.18
image: docker.io/golang:1.22
script: |
#!/bin/bash -xe
echo $(workspaces.source-code-ws.path)
Expand Down
2 changes: 1 addition & 1 deletion components/producers/golang-nancy/task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
description: The workspace containing the source-code to scan.
steps:
- name: go-deps
image: docker.io/golang:1.18
image: docker.io/golang:1.22
script: | # necessary because sonatypecommunity/nancy does not include go
#!/bin/bash -xe
echo $(workspaces.source-code-ws.path)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/ocurity/dracon

go 1.20
go 1.22

require (
cloud.google.com/go/bigquery v1.48.0
Expand Down
4 changes: 2 additions & 2 deletions third_party/docker/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ subinclude("//build/defs:buildkit")

buildkit_image_mirror(
name = "golang",
digest = "sha256:740324e52de766f230ad7113fac9028399d6e03af34883de625dc2230ef7927e",
digest = "sha256:7b297d9abee021bab9046e492506b3c2da8a3722cbf301653186545ecc1e00bb",
repo = "docker.io/golang",
tags = ["1.18"],
tags = ["1.22"],
)

buildkit_image_mirror(
Expand Down

0 comments on commit e1a8392

Please sign in to comment.