Closed willnorris closed 9 months ago
@willnorris Hey! This seems to break on our self hosted runners:
Run go install tailscale.com/cmd/gitops-pusher@gitops-1.58.2
go install tailscale.com/cmd/gitops-pusher@gitops-1.58.2
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
GOBIN: /usr/local/bin/
tailscale.com/cmd/gitops-pusher: go install tailscale.com/cmd/gitops-pusher: copying /tmp/go-build2096326023/b001/exe/a.out: open /usr/local/bin/gitops-pusher: permission denied
Not sure if we should just allow our gh user access to /usr/local/bin
? Not sure how this is configured on GitHubs runners.
As an alternative solution, I'm running the workflow in a container instead:
container: golang:1.21.6-bookworm
This prepares for merging #24. Manually tested in a private repo on a test tailnet.