diff --git a/.tangled/workflows/ci.yml b/.tangled/workflows/ci.yml index a701809..0e29669 100644 --- a/.tangled/workflows/ci.yml +++ b/.tangled/workflows/ci.yml @@ -21,6 +21,10 @@ steps: CGO_ENABLED: "0" GOCACHE: "/tangled/workspace/.cache/go-build" GOMODCACHE: "/tangled/workspace/.cache/go-mod" + # The spindle pod carries an Athens sidecar; host.docker.internal + # is the docker host gateway, which is that pod. The fallbacks + # keep builds working when the sidecar is down. + GOPROXY: "http://host.docker.internal:3000,https://proxy.golang.org,direct" command: | ./check-coverage @@ -29,6 +33,10 @@ steps: CGO_ENABLED: "0" GOCACHE: "/tangled/workspace/.cache/go-build" GOMODCACHE: "/tangled/workspace/.cache/go-mod" + # The spindle pod carries an Athens sidecar; host.docker.internal + # is the docker host gateway, which is that pod. The fallbacks + # keep builds working when the sidecar is down. + GOPROXY: "http://host.docker.internal:3000,https://proxy.golang.org,direct" KO_DOCKER_REPO: "atcr.io/guid.foo/wicket" command: | export VERSION="$(date -u +%Y%m%d%H%M%S)-$(git rev-parse --short HEAD)"