building an debian-stable image
This commit is contained in:
@@ -45,12 +45,13 @@ spec:
|
||||
script: |
|
||||
#!/usr/bin/env bash
|
||||
cd $(resources.inputs.source.path)
|
||||
ls -al
|
||||
export GOARCH=arm64
|
||||
export GOPATH=/usr/src/gopath
|
||||
export GOCACHE=/usr/src/gocache
|
||||
go env
|
||||
go get
|
||||
make -j4 build CGO_ENABLED=1
|
||||
go get github.com/sapcc/mosquitto-exporter
|
||||
make -j4 build CGO_ENABLED=0
|
||||
- name: build-and-push
|
||||
image: gcr.io/kaniko-project/executor:arm64
|
||||
command:
|
||||
|
||||
Reference in New Issue
Block a user