Use goproxy
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful

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

View file

@ -9,6 +9,8 @@ steps:
platforms:
- linux/amd64
# - linux/arm64
environment:
- GOPROXY=http://goproxy.home:3000
when:
- event: pull_request
- event: push
@ -29,6 +31,8 @@ steps:
platforms:
- linux/amd64
# - linux/arm64
environment:
- GOPROXY=http://goproxy.home:3000
when:
- event: push
branch: main
@ -47,6 +51,8 @@ steps:
from_secret: git_username
password:
from_secret: git_password
environment:
- GOPROXY=http://goproxy.home:3000
when:
- event: tag

View file

@ -3,11 +3,15 @@ steps:
image: golang
commands:
- make -C polyculeconnect test
environment:
- GOPROXY=http://goproxy.home:3000
go-build:
image: golang
commands:
- make -C polyculeconnect build
environment:
- GOPROXY=http://goproxy.home:3000
when:
event: [push, tag]