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:
|
platforms:
|
||||||
- linux/amd64
|
- linux/amd64
|
||||||
# - linux/arm64
|
# - linux/arm64
|
||||||
|
environment:
|
||||||
|
- GOPROXY=http://goproxy.home:3000,direct
|
||||||
when:
|
when:
|
||||||
- event: pull_request
|
- event: pull_request
|
||||||
- event: push
|
- event: push
|
||||||
|
@ -29,6 +31,8 @@ steps:
|
||||||
platforms:
|
platforms:
|
||||||
- linux/amd64
|
- linux/amd64
|
||||||
# - linux/arm64
|
# - linux/arm64
|
||||||
|
environment:
|
||||||
|
- GOPROXY=http://goproxy.home:3000,direct
|
||||||
when:
|
when:
|
||||||
- event: push
|
- event: push
|
||||||
branch: main
|
branch: main
|
||||||
|
|
|
@ -2,6 +2,7 @@ FROM --platform=$TARGETPLATFORM golang:1.20 AS builder
|
||||||
ARG TARGETPLATFORM
|
ARG TARGETPLATFORM
|
||||||
ARG BUILDPLATFORM
|
ARG BUILDPLATFORM
|
||||||
WORKDIR /go/src/git.faercol.me/polyculeconnect
|
WORKDIR /go/src/git.faercol.me/polyculeconnect
|
||||||
|
ENV GOPROXY=http://goproxy.home:3000,direct
|
||||||
COPY polyculeconnect ./
|
COPY polyculeconnect ./
|
||||||
RUN make build
|
RUN make build
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue