Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
echo "Don't cancel old workflow"
tests:
runs-on: ubuntu-latest
container: golang:1.16.5-alpine3.13
container: golang:1.25-alpine3.22
continue-on-error: false
name: Unit tests
needs: [cancel]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/review_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
reviewdog:
name: Run reviewdog
runs-on: ubuntu-latest
container: golang:1.16.5-alpine3.13
container: golang:1.25-alpine3.22
steps:
- name: checkout
id: checkout
Expand Down
6 changes: 3 additions & 3 deletions build/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Stage 1 - Generate proto
###########################
FROM golang:1.19.0-alpine3.16 as proto-builder
FROM golang:1.25-alpine3.22 as proto-builder

ENV CGO_ENABLED 1
ENV METRO_APPENV=${APP_ENV}
Expand All @@ -27,7 +27,7 @@ RUN make proto-generate

# Stage 2 - Compilation build stage
######################################
FROM golang:1.19.0-alpine3.16 as builder
FROM golang:1.25-alpine3.22 as builder

ENV CGO_ENABLED 1
ENV METRO_APPENV=${APP_ENV}
Expand Down Expand Up @@ -59,7 +59,7 @@ RUN make go-build-metro

# Stage 3 - Binary build stage
######################################
FROM alpine:3.16
FROM alpine:3.22

COPY --from=builder /src/bin/metro /app/
COPY --from=builder /src/config/ /app/config/
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/razorpay/metro

go 1.19
go 1.25

require (
cloud.google.com/go/pubsub v1.11.0
Expand Down
4 changes: 2 additions & 2 deletions tests/mocksubscriber/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#build stage
FROM golang:1.16.5-alpine3.13 as builder
FROM golang:1.25-alpine3.22 as builder

ENV CGO_ENABLED 1
ARG GIT_COMMIT_HASH
Expand All @@ -13,7 +13,7 @@ WORKDIR $SRC_DIR
RUN go build -o mock-server tests/mocksubscriber/cmd/main.go

# final stage
FROM alpine:3.13
FROM alpine:3.22

COPY --from=builder /src/mock-server /app/
COPY ./tests/mocksubscriber/docker/entrypoint.sh /app/
Expand Down
Loading