Skip to content
Merged
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
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go 1.24
- name: Setup Go 1.27.3
uses: actions/setup-go@v5
with:
go-version: 1.24
go-version: 1.27.3
- name: Lint
uses: golangci/golangci-lint-action@v7
with:
only-new-issues: true
version: v2.1.5
version: v2.15.0
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ jobs:
repository: ${{ env.DOCKERHUB_IMAGE }}
readme-filepath: ./README.md
short-description: "Cloudflare Operator Controller Manager"
- name: Setup Go 1.24
- name: Setup Go 1.27.3
uses: actions/setup-go@v5
if: startsWith(github.ref, 'refs/tags/')
with:
go-version: 1.24
go-version: 1.27.3
- name: Resolve installer image base
if: startsWith(github.ref, 'refs/tags/')
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Go 1.24
- name: Setup Go 1.27.3
uses: actions/setup-go@v5
with:
go-version: 1.24
go-version: 1.27.3
- name: Test
run: make test
- name: Archive code coverage results
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.24 AS builder
FROM golang:1.27.3 AS builder
ARG TARGETOS
ARG TARGETARCH

Expand All @@ -25,7 +25,7 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o ma

# Use distroless as minimal base image to package the manager binary
# Refer to https://github.com/GoogleContainerTools/distroless for more details
FROM gcr.io/distroless/static:nonroot
FROM gcr.io/distroless/static-debian13:nonroot
WORKDIR /
COPY --from=builder /workspace/manager .
USER 65532:65532
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,9 @@ GOLANGCI_LINT = $(LOCALBIN)/golangci-lint

## Tool Versions
KUSTOMIZE_VERSION ?= v5.4.3
CONTROLLER_TOOLS_VERSION ?= v0.16.1
CONTROLLER_TOOLS_VERSION ?= v0.22.0
ENVTEST_VERSION ?= release-0.19
GOLANGCI_LINT_VERSION ?= v2.1.5
GOLANGCI_LINT_VERSION ?= v2.15.0

.PHONY: kustomize
kustomize: $(KUSTOMIZE) ## Download kustomize locally if necessary.
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/adyanth/cloudflare-operator

go 1.24.0

toolchain go1.24.2
toolchain go1.27.3

require (
github.com/cloudflare/cloudflare-go v0.115.0
Expand Down
Loading