Use goproxy
This commit is contained in:
parent
3bc17d6aba
commit
742a8965ff
2 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue