From 7477e814ec8ee0f283f54d809814ff95711bec44 Mon Sep 17 00:00:00 2001 From: sylwit Date: Mon, 9 Jun 2025 11:56:11 -0400 Subject: [PATCH] feat: bump alpine to 3.22 and go to 1.24 [RL-342] --- Dockerfile | 8 ++++---- README.md | 10 ++++++++++ 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 20812c385..5f9488886 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ -ARG GO_VERSION=1.19 -ARG XX_VERSION=1.1.0 +ARG GO_VERSION=1.24 +ARG XX_VERSION=1.6.1 FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx -FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-alpine as builder +FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-alpine AS builder # Copy the build utilities. COPY --from=xx / / @@ -31,7 +31,7 @@ COPY internal/ internal/ ENV CGO_ENABLED=0 RUN xx-go build -trimpath -a -o notification-controller main.go -FROM alpine:3.17 +FROM alpine:3.22 LABEL org.opencontainers.image.source="https://github.com/fluxcd/notification-controller" diff --git a/README.md b/README.md index 6ad594b00..76c5ccb6a 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,16 @@ [![license](https://img.shields.io/github/license/fluxcd/notification-controller.svg)](https://github.com/fluxcd/notification-controller/blob/main/LICENSE) [![release](https://img.shields.io/github/release/fluxcd/notification-controller/all.svg)](https://github.com/fluxcd/notification-controller/releases) +## VGS fork + +``` +today=$(date +%Y%m%d) +export IMG="190066226418.dkr.ecr.us-east-1.amazonaws.com/infra/notification-controller:v0.31.0-$today" +make docker-build +assume presidio/infra +make docker-push +``` + Event forwarder and notification dispatcher for the [GitOps Toolkit](https://fluxcd.io/flux/components/) controllers. The notification-controller is an implementation of the [notification.toolkit.fluxcd.io](docs/spec/v1beta1/README.md) API based on the specifications described in the [RFC](docs/spec/README.md).