Updated Dockerfile and Woodpecker pipeline to use harbor.maximumdirect.net proxy cache for upstream images.
All checks were successful
ci/woodpecker/manual/build-image Pipeline was successful
ci/woodpecker/push/build-image Pipeline was successful

This commit is contained in:
2026-02-01 19:39:55 -06:00
parent 2a88c3c5f3
commit d858bc1f31
2 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ when:
steps: steps:
- name: build-and-push-image - name: build-and-push-image
image: https://harbor.maximumdirect.net/dockerhub-proxy/woodpeckerci/plugin-kaniko image: harbor.maximumdirect.net/proxy-dockerhub/woodpeckerci/plugin-kaniko
settings: settings:
registry: harbor.maximumdirect.net registry: harbor.maximumdirect.net
repo: build/weatherfeeder repo: build/weatherfeeder

View File

@@ -5,7 +5,7 @@ ARG GO_VERSION=1.25
############################ ############################
# Build stage # Build stage
############################ ############################
FROM golang:${GO_VERSION}-bookworm AS build FROM harbor.maximumdirect.net/proxy-dockerhub/golang:${GO_VERSION}-bookworm AS build
WORKDIR /src WORKDIR /src
@@ -52,7 +52,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
############################ ############################
# Runtime stage # Runtime stage
############################ ############################
FROM debian:bookworm-slim AS runtime FROM harbor.maximumdirect.net/proxy-dockerhub/debian:bookworm-slim AS runtime
# Install runtime necessities # Install runtime necessities
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get update && apt-get install -y --no-install-recommends \