Skip to content

Commit 496744b

Browse files
authored
Merge pull request #106 from buildkite-plugins/chore/update_go_dockerfile
chore: update go version in Dockerfile for toolchain use
2 parents 51741ed + 6903f3a commit 496744b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Stage 1: Build the Go plugin using Goreleaser
2-
FROM goreleaser/goreleaser:v2.3.0-amd64 as go
2+
FROM goreleaser/goreleaser:v2.3.0-amd64 AS go
33

44
WORKDIR /plugin
55

@@ -8,7 +8,7 @@ COPY . .
88
RUN goreleaser build --clean --skip=validate --config .goreleaser-test.yml
99

1010
# Stage 2: Lint the plugin using Buildkite plugin-linter
11-
FROM buildkite/plugin-linter:latest as linter
11+
FROM buildkite/plugin-linter:latest AS linter
1212

1313
WORKDIR /plugin
1414

@@ -19,7 +19,7 @@ COPY --from=go /plugin /plugin
1919
RUN plugin-linter --id buildkite-plugins/monorepo-diff
2020

2121
# Stage 3: Final image for testing the plugin
22-
FROM golang:1.20 as test-stage
22+
FROM golang:1.22.12 AS test-stage
2323

2424
WORKDIR /plugin
2525

0 commit comments

Comments
 (0)