diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 9af1db8..a1d1ae6 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: go: - - '1.21' + - '1.23' steps: - uses: actions/checkout@v4 with: @@ -44,7 +44,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: '1.21' + go-version: '1.23' - name: Build run: go build ./... - name: Test diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4808aca..49dfc6d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.21' + go-version: '1.23' - name: golangci-lint uses: golangci/golangci-lint-action@v6 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 60449e1..d8acc96 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: '1.21' + go-version: '1.23' check-latest: true - name: Setup Node.js diff --git a/Dockerfile b/Dockerfile index 8a0627c..e75329f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN yarn install --frozen-lockfile --non-interactive RUN yarn run build ### Build backend -FROM golang:1.21-alpine3.19 as backend +FROM golang:1.23-alpine3.20 as backend RUN apk add --no-cache --virtual .build-deps g++ git make WORKDIR /build COPY . . @@ -23,7 +23,7 @@ RUN go build -o inbucket \ -v ./cmd/inbucket ### Run in minimal image -FROM alpine:3.19 +FROM alpine:3.20 RUN apk --no-cache add tzdata WORKDIR /opt/inbucket RUN mkdir bin defaults ui