Skip to content

Commit 1d0b510

Browse files
Allow dependabot to keep your golang version current (#119)
Co-authored-by: Jimmi Dyson <jimmidyson@gmail.com>
1 parent 6a7151d commit 1d0b510

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,9 @@ updates:
3131
- patch
3232
schedule:
3333
interval: weekly
34+
35+
- package-ecosystem: "docker"
36+
directories:
37+
- "/"
38+
schedule:
39+
interval: "daily"

.github/workflows/build_pr.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,5 @@ jobs:
2323
run: |
2424
docker buildx build \
2525
--platform linux/arm64/v8,linux/amd64,linux/arm,linux/ppc64le,linux/s390x \
26-
--build-arg GO_VERSION=$(grep -m 1 go go.mod | cut -d\ -f2) \
2726
-t ghcr.io/jimmidyson/configmap-reload:${{ github.event.pull_request.head.sha }} \
2827
.

.github/workflows/build_tag_and_main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ jobs:
3535
run: |
3636
docker buildx build \
3737
--platform linux/arm64/v8,linux/amd64,linux/arm,linux/ppc64le,linux/s390x \
38-
--build-arg GO_VERSION=$(grep -m 1 go go.mod | cut -d\ -f2) \
3938
-t ghcr.io/jimmidyson/configmap-reload:${{ github.ref_name == 'main' && 'dev' || github.ref_name }} \
4039
--push \
4140
.

Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22

33
ARG BASEIMAGE=gcr.io/distroless/static-debian11:nonroot
44

5-
ARG GO_VERSION
6-
FROM --platform=${BUILDPLATFORM} golang:${GO_VERSION} as builder
7-
8-
ENV GOTOOLCHAIN=auto
5+
FROM --platform=${BUILDPLATFORM} golang:1.24.2@sha256:1ecc479bc712a6bdb56df3e346e33edcc141f469f82840bab9f4bc2bc41bf91d AS builder
96

107
COPY . /src
118
WORKDIR /src

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/jimmidyson/configmap-reload
22

33
go 1.21
44

5-
toolchain go1.23.1
5+
toolchain go1.24.2
66

77
require (
88
github.com/fsnotify/fsnotify v1.8.0

0 commit comments

Comments
 (0)