mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-06 01:38:10 +00:00
Merge pull request #213 from paulfantom/fixes
*: use proper golang image and always set go111module in build pipeline
This commit is contained in:
commit
3e6d59813b
1 changed files with 3 additions and 2 deletions
5
Makefile
5
Makefile
|
|
@ -5,10 +5,11 @@ ARCH?=amd64
|
||||||
ALL_ARCH=amd64 arm arm64 ppc64le s390x
|
ALL_ARCH=amd64 arm arm64 ppc64le s390x
|
||||||
ML_PLATFORMS=linux/amd64,linux/arm,linux/arm64,linux/ppc64le,linux/s390x
|
ML_PLATFORMS=linux/amd64,linux/arm,linux/arm64,linux/ppc64le,linux/s390x
|
||||||
OUT_DIR?=./_output
|
OUT_DIR?=./_output
|
||||||
VENDOR_DOCKERIZED=0
|
|
||||||
|
|
||||||
VERSION?=latest
|
VERSION?=latest
|
||||||
GOIMAGE=golang:1.10
|
GOIMAGE=golang:1.12
|
||||||
|
GO111MODULE=on
|
||||||
|
export GO111MODULE
|
||||||
|
|
||||||
ifeq ($(ARCH),amd64)
|
ifeq ($(ARCH),amd64)
|
||||||
BASEIMAGE?=busybox
|
BASEIMAGE?=busybox
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue