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 2c90e702e5
Some checks reported errors
continuous-integration/drone/push Build was killed
in docker pipeline now
2023-11-21 16:54:25 +01:00

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/**