Skip to content

Commit

Permalink
bump go version and container base image
Browse files Browse the repository at this point in the history
Signed-off-by: Jeeva Kandasamy <[email protected]>
  • Loading branch information
jkandasa committed Jan 12, 2025
1 parent c4e2fc1 commit fac1c22
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: ^1.21
go-version: ^1.23

- name: golangci-lint
uses: golangci/golangci-lint-action@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_container_images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- uses: actions/setup-go@v2
with:
go-version: ^1.21
go-version: ^1.23

# - uses: docker/setup-qemu-action@v1
- uses: docker/setup-buildx-action@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_executables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

- uses: actions/setup-go@v2
with:
go-version: ^1.21
go-version: ^1.23

- uses: actions/setup-node@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions docker/gateway.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=${BUILDPLATFORM} golang:1.20-alpine3.17 AS builder
FROM --platform=${BUILDPLATFORM} golang:1.23-alpine3.21 AS builder
RUN mkdir /app
ADD . /app
WORKDIR /app
Expand All @@ -14,7 +14,7 @@ ARG TARGETARCH
ENV TARGET_BUILD="gateway"
RUN scripts/container_binary.sh

FROM alpine:3.17
FROM alpine:3.21

LABEL maintainer="Jeeva Kandasamy <[email protected]>"

Expand Down
4 changes: 2 additions & 2 deletions docker/handler.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=${BUILDPLATFORM} golang:1.20-alpine3.17 AS builder
FROM --platform=${BUILDPLATFORM} golang:1.23-alpine3.21 AS builder
RUN mkdir /app
ADD . /app
WORKDIR /app
Expand All @@ -14,7 +14,7 @@ ARG TARGETARCH
ENV TARGET_BUILD="handler"
RUN scripts/container_binary.sh

FROM alpine:3.17
FROM alpine:3.21

LABEL maintainer="Jeeva Kandasamy <[email protected]>"

Expand Down
4 changes: 2 additions & 2 deletions docker/server.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.20-alpine3.17 AS builder
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.23-alpine3.21 AS builder
RUN mkdir /app
ADD . /app
WORKDIR /app
Expand All @@ -14,7 +14,7 @@ ARG TARGETARCH
ENV TARGET_BUILD="server"
RUN scripts/container_binary.sh

FROM alpine:3.17
FROM alpine:3.21

LABEL maintainer="Jeeva Kandasamy <[email protected]>"

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/mycontroller-org/server/v2

go 1.21
go 1.23

require (
github.com/Masterminds/semver/v3 v3.2.1
Expand Down

0 comments on commit fac1c22

Please sign in to comment.