diff --git a/.woodpecker/build-image.yml b/.woodpecker/build-image.yml index a1a4046..96f27d8 100644 --- a/.woodpecker/build-image.yml +++ b/.woodpecker/build-image.yml @@ -4,7 +4,7 @@ when: steps: - 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: registry: harbor.maximumdirect.net repo: build/weatherfeeder diff --git a/Dockerfile b/Dockerfile index a2045ce..f54cf56 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ ARG GO_VERSION=1.25 ############################ # Build stage ############################ -FROM golang:${GO_VERSION}-bookworm AS build +FROM harbor.maximumdirect.net/proxy-dockerhub/golang:${GO_VERSION}-bookworm AS build WORKDIR /src @@ -52,7 +52,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \ ############################ # Runtime stage ############################ -FROM debian:bookworm-slim AS runtime +FROM harbor.maximumdirect.net/proxy-dockerhub/debian:bookworm-slim AS runtime # Install runtime necessities RUN apt-get update && apt-get install -y --no-install-recommends \