diff --git a/.woodpecker/deploy.yml b/.woodpecker/deploy.yml index 36f5034..514316d 100644 --- a/.woodpecker/deploy.yml +++ b/.woodpecker/deploy.yml @@ -9,6 +9,8 @@ steps: platforms: - linux/amd64 # - linux/arm64 + environment: + - GOPROXY=http://goproxy.home:3000,direct when: - event: pull_request - event: push @@ -29,6 +31,8 @@ steps: platforms: - linux/amd64 # - linux/arm64 + environment: + - GOPROXY=http://goproxy.home:3000,direct when: - event: push branch: main diff --git a/Dockerfile b/Dockerfile index cb9aa2a..2134128 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,7 @@ FROM --platform=$TARGETPLATFORM golang:1.20 AS builder ARG TARGETPLATFORM ARG BUILDPLATFORM WORKDIR /go/src/git.faercol.me/polyculeconnect +ENV GOPROXY=http://goproxy.home:3000,direct COPY polyculeconnect ./ RUN make build