cloudoperators / greenhouse

Cloud operations platform
Apache License 2.0
8 stars 1 forks source link

🐛 [BUG] - dev-env image build failing #129

Closed uwe-mayer closed 1 month ago

uwe-mayer commented 2 months ago

Priority

(Medium) I'm annoyed but I'll live

Description

this is the first failing run: https://github.com/cloudoperators/greenhouse/actions/runs/8601060342 which points to this commit: https://github.com/cloudoperators/greenhouse/commit/a43ac46e0ee25b71c483d10766c3f0df39f8ebd5

We need to investigate what makes the docker buildx fail for the Dockerfile.dev-env as the commit does not include changes to either of:

Reproduction steps

1. Go to https://github.com/cloudoperators/greenhouse/actions/runs/8601060342
2. Check logs for `Build and push Docker Image` step of https://github.com/cloudoperators/greenhouse/actions/runs/8601060342/job/23567388327

Manifests

No response

Screenshots

No response

kengou commented 1 month ago

The issue still persist. Going to investigate it further

kengou commented 1 month ago

Found the issue: go: cannot install cross-compiled binaries when GOBIN is set There is an open issue already for that: https://github.com/golang/go/issues/57485

Option's to mitigate the issue:

  1. remove $GOBIN
  2. add -o to the go install go build -o out ...