I’m having an issue when runner the buildpack
pack command on a self-hosted ubuntu runner.
When applying the command
pack build myimage:tag --path ./demo-angular/deploy --buildpack 'gcr.io/paketo-buildpacks/nginx' --builder paketobuildpacks/builder:base --verbose, I got the error message I’m having is
ERROR: getting config path: getting pack home: getting user home: $HOME is not defined
When I run the same command directly on the runner, it works fine and build the image. The $HOME env variable is set for the user running the runner.
After some research it might be related to a $GOHOME go variable but I couldn’t find a way to fix that.
Anyone already had a similar issue ? Any advices on where to look at to fix or debug further ?