This repository has been archived on 2025-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
Files
drone-runner-podman/.drone.yml
Udo Waechter 8aa2cfd0c3
Some checks failed
continuous-integration/drone Build is failing
cni go dependency?
2023-10-25 15:48:08 +02:00

45 lines
849 B
YAML

kind: pipeline
type: docker
name: linux-arm64
platform:
os: linux
arch: arm64
steps:
- name: environment
image: golang:1.16
pull: always
environment:
CGO_ENABLED: "0"
commands:
- go version
- go env
- go mod tidy -e
- name: build
image: golang:1.16
environment:
CGO_ENABLED: "0"
commands:
- go build -o release/linux/arm64/drone-runner-docker
- name: publish
image: plugins/docker
pull: if-not-exists
settings:
repo: cr.wks/drone/drone-runner-docker
registry: http://cr.wks
insecure: true
auto_tag: true
auto_tag_suffix: linux-arm64
dockerfile: docker/Dockerfile.linux.arm64
when:
ref:
- refs/heads/master
- refs/tags/*
trigger:
ref:
- refs/heads/master
- refs/tags/**
- refs/pull/**