building an debian-stable image

This commit is contained in:
2021-02-22 13:08:48 +01:00
parent 3538f407e8
commit aaaf6fa29f
5 changed files with 132 additions and 30 deletions

View File

@@ -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: