init commit for coverting to podman

This commit is contained in:
zerodoctor
2023-10-04 23:19:30 -05:00
parent 7e9969423c
commit 04332e5527
96 changed files with 2034 additions and 534 deletions

View File

@@ -3,17 +3,19 @@
# disable go modules
export GOPATH=""
# disable cgo
export CGO_ENABLED=0
# enable cgo due to
# https://github.com/containers/image/issues/1382
# which means difficult times ahead with cross compiling
export CGO_ENABLED=1
set -e
set -x
# linux
GOOS=linux GOARCH=amd64 go build -o release/linux/amd64/drone-runner-docker
GOOS=linux GOARCH=arm64 go build -o release/linux/arm64/drone-runner-docker
GOOS=linux GOARCH=arm go build -o release/linux/arm/drone-runner-docker
GOOS=linux GOARCH=ppc64le go build -o release/linux/ppc64le/drone-runner-docker
# linux - btw, I use amd64 arch linux... okay its manjaro... close enough
GOOS=linux GOARCH=amd64 go build -o release/linux/amd64/drone-runner-podman
# GOOS=linux GOARCH=arm64 go build -o release/linux/arm64/drone-runner-podman
# GOOS=linux GOARCH=arm go build -o release/linux/arm/drone-runner-podman
# GOOS=linux GOARCH=ppc64le go build -o release/linux/ppc64le/drone-runner-podman
# windows
GOOS=windows go build -o release/windows/amd64/drone-runner-docker.exe
# GOOS=windows go build -o release/windows/amd64/drone-runner-podman.exe