Some checks reported errors
continuous-integration/drone/push Build was killed
44 lines
854 B
YAML
44 lines
854 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: linux-arm64
|
|
|
|
platform:
|
|
os: linux
|
|
arch: arm64
|
|
|
|
steps:
|
|
- name: environment
|
|
image: golang:1.21
|
|
pull: always
|
|
environment:
|
|
CGO_ENABLED: "0"
|
|
commands:
|
|
- go version
|
|
- go env
|
|
- name: build
|
|
image: golang:1.21
|
|
environment:
|
|
CGO_ENABLED: "0"
|
|
commands:
|
|
- go build -tags containers_image_openpgp -o release/linux/arm64/drone-runner-podman
|
|
- name: publish
|
|
image: plugins/docker
|
|
pull: if-not-exists
|
|
settings:
|
|
repo: cr.wks/drone/drone-runner-podman
|
|
registry: http://cr.wks
|
|
insecure: true
|
|
auto_tag: true
|
|
#auto_tag_suffix: linux-arm64
|
|
dockerfile: docker/Dockerfile.linux.arm64
|
|
when:
|
|
ref:
|
|
- refs/heads/main
|
|
- refs/tags/*
|
|
|
|
trigger:
|
|
ref:
|
|
- refs/heads/main
|
|
- refs/tags/**
|
|
- refs/pull/**
|