Use goproxy
Some checks failed
ci/woodpecker/push/deploy unknown status
ci/woodpecker/push/test Pipeline failed

This commit is contained in:
chapeau 2023-10-22 22:13:14 +02:00
parent 3bc17d6aba
commit 742a8965ff
2 changed files with 5 additions and 0 deletions

View file

@ -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

View file

@ -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