fix(minikube)

closes #4003
This commit is contained in:
Jacob Heider 2023-11-08 16:15:06 -05:00 committed by Jacob Heider
parent befe918ef3
commit cbd077e5dc

View file

@ -15,11 +15,15 @@ build:
dependencies: dependencies:
go.dev: ^1.19 go.dev: ^1.19
github.com/kevinburke/go-bindata: '*' github.com/kevinburke/go-bindata: '*'
script: | script:
make - run: |
mkdir -p "{{ prefix }}"/bin sed -E -i.bak -e's/(_LDFLAGS := "?)/\1-buildmode=pie /' Makefile
mv out/minikube "{{ prefix }}"/bin rm Makefile.bak
if: linux
- make
- mkdir -p "{{ prefix }}"/bin
- mv out/minikube "{{ prefix }}"/bin
test: test:
script: | script: |
minikube version minikube version