diff --git a/.woodpecker/deploy.yml b/.woodpecker/deploy.yml index 36f5034..eee26ea 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 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 diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index be910ab..b4674c8 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -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]