Skip to content

Commit

Permalink
bump go for alert-logger
Browse files Browse the repository at this point in the history
  • Loading branch information
eg-ayoub committed Nov 8, 2024
1 parent 0491819 commit 4c93bb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions images/metalk8s-alert-logger/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG BASE_IMAGE=docker.io/alpine

ARG BUILD_IMAGE_NAME=golang
ARG BUILD_IMAGE_TAG=1.17.0-alpine
ARG BUILD_IMAGE_TAG=1.23.3-alpine
FROM ${BUILD_IMAGE_NAME}:${BUILD_IMAGE_TAG} AS builder

ENV CGO_ENABLED=0
Expand All @@ -16,7 +16,7 @@ COPY main.go go.mod "$PKG_PATH"
WORKDIR "$PKG_PATH"

RUN sed -i "s/@@ALERTMANAGER_VERSION@@/$ALERTMANAGER_VERSION/g" go.mod \
&& go mod tidy -go=1.16 && go mod tidy -go=1.17 \
&& go mod tidy -go=1.23 \
&& go install

#FROM ${BASE_IMAGE}
Expand Down
2 changes: 1 addition & 1 deletion images/metalk8s-alert-logger/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module metalk8s-alert-logger

go 1.17
go 1.23

require github.com/prometheus/alertmanager @@ALERTMANAGER_VERSION@@

0 comments on commit 4c93bb5

Please sign in to comment.