Skip to content

Commit

Permalink
build(deps): bump go from 1.20 to 1.21
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Chadwell <[email protected]>
  • Loading branch information
jedevc committed Nov 6, 2023
1 parent bbbcb56 commit 4386060
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ jobs:
-
name: Checkout
uses: actions/checkout@v4
-
uses: actions/setup-go@v4
with:
go-version: '1.20'
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

ARG GO_VERSION="1.20"
ARG GO_VERSION="1.21"
ARG ALPINE_VERSION="3.17"
ARG XX_VERSION="1.1.2"

Expand Down
2 changes: 1 addition & 1 deletion docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// limitations under the License.

variable "GO_VERSION" {
default = "1.20"
default = "1.21"
}

# GITHUB_REF is the actual ref that triggers the workflow and used as version
Expand Down
2 changes: 1 addition & 1 deletion examples/golang/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang as base
FROM golang:1.20 as base
ARG BUILDKIT_SBOM_SCAN_STAGE=true
ENV CGO_ENABLED=0
WORKDIR /app
Expand Down
4 changes: 3 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module github.com/docker/buildkit-syft-scanner

go 1.20
go 1.21.0

toolchain go1.21.3

require (
github.com/anchore/go-logger v0.0.0-20230725134548-c21dafa1ec5a
Expand Down
33 changes: 33 additions & 0 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ github.com/anchore/stereoscope/pkg/image/sif
github.com/anchore/stereoscope/pkg/tree
github.com/anchore/stereoscope/pkg/tree/node
# github.com/anchore/syft v0.94.0
## explicit; go 1.21
## explicit; go 1.21.0
github.com/anchore/syft/internal
github.com/anchore/syft/internal/bus
github.com/anchore/syft/internal/file
Expand Down

0 comments on commit 4386060

Please sign in to comment.