Skip to content

Commit

Permalink
Upgrade the go version for the Docker workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
waybackarchiver committed May 1, 2022
1 parent 5ebdbb5 commit 026d604
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# license that can be found in the LICENSE file.
#
# syntax=docker/dockerfile:1.2
ARG GO_VERSION=1.17
ARG GO_VERSION=1.18

FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-alpine AS builder
COPY --from=tonistiigi/xx:golang / /
Expand Down
2 changes: 1 addition & 1 deletion build/docker/Dockerfile.all
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1.2
ARG GO_VERSION=1.17
ARG GO_VERSION=1.18

FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-alpine AS builder
COPY --from=tonistiigi/xx:golang / /
Expand Down
2 changes: 1 addition & 1 deletion build/docker/Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1.2
ARG GO_VERSION=1.17
ARG GO_VERSION=1.18

FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-alpine AS builder

Expand Down
2 changes: 1 addition & 1 deletion docker-bake.hcl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Go version
variable "GO_VERSION" {
default = "1.17"
default = "1.18"
}

target "go-version" {
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/wabarc/wayback

// +heroku goVersion go1.17
// +heroku goVersion go1.18

go 1.17

Expand Down

0 comments on commit 026d604

Please sign in to comment.