surtur
73e95f29d3
* rm arm/arm64/gcr/ecr related build instructions in build.sh and .drone.ml, only build for amd64 * change autotag to manually specified tags (2 static, one dynamic) * change the branch referenced in .drone.yml as we're using dev by default * module path is now git.dotya.ml/wanderer/drone-kaniko/*
17 lines
372 B
Bash
Executable File
17 lines
372 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# force go modules
|
|
export GOPATH=""
|
|
|
|
# disable cgo
|
|
export CGO_ENABLED=0
|
|
|
|
set -e
|
|
set -x
|
|
|
|
# linux
|
|
GOOS=linux GOARCH=amd64 go build -o release/linux/amd64/kaniko-gcr ./cmd/kaniko-gcr
|
|
GOOS=linux GOARCH=amd64 go build -o release/linux/amd64/kaniko-ecr ./cmd/kaniko-ecr
|
|
GOOS=linux GOARCH=amd64 go build -o release/linux/amd64/kaniko-docker ./cmd/kaniko-docker
|
|
|