Skip to content

Commit

Permalink
upgraded to go 1.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
epomatti committed Feb 7, 2024
1 parent 295c662 commit 03e7db7
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21.5'
go-version: '1.22.0'

- name: Build
run: go build -v ./...
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Custom
*.html

stressbox

# Created by https://www.toptal.com/developers/gitignore/api/go
# Edit at https://www.toptal.com/developers/gitignore?templates=go
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@


FROM golang:1.21-alpine AS builder
FROM golang:1.22-alpine AS builder

WORKDIR /build
COPY . .
RUN go mod download
RUN go build .

FROM golang:1.21-alpine
FROM golang:1.22-alpine

# curl added only for health check if anyone needs it
RUN apk update && apk add curl
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.arm64v8
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# https://github.com/golang/go/wiki/GoArm
# https://hub.docker.com/r/arm64v8/alpine/tags
FROM arm64v8/golang:1.21-alpine AS builder
FROM arm64v8/golang:1.22-alpine AS builder

WORKDIR /build
COPY . .
RUN go mod download
RUN go build .

FROM arm64v8/golang:1.21-alpine
FROM arm64v8/golang:1.22-alpine

# curl added only for health check if anyone needs it
RUN apk update && apk add curl
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/epomatti/stressbox

go 1.21
go 1.22

0 comments on commit 03e7db7

Please sign in to comment.