blob: e184886763b18fda02460e4bfee545fcb8c5a6d6 [file] [log] [blame]
clean:
rm -f controller
generate:
rm -rf generated
./hack/generate.sh
build: clean
go1.16 mod tidy
go1.16 mod vendor
go1.16 build -o controller .
# image: clean build
# docker build --tag=giolekva/rpuppy-arm .
# push: image
# docker push giolekva/rpuppy-arm:latest
# push_arm64: export GOOS=linux
# push_arm64: export GOARCH=arm64
# push_arm64: export CGO_ENABLED=0
# push_arm64: export GO111MODULE=on
# push_arm64: push