container-openvpn/.woodpecker.yaml
Nikolai Rodionov 4737de1394
Some checks failed
ci/woodpecker/push/woodpecker/2 Pipeline failed
ci/woodpecker/push/woodpecker/1 Pipeline was successful
Fix the arch
2024-08-18 21:48:06 +02:00

37 lines
688 B
YAML

---
when:
event:
- push
branch:
- main
matrix:
TARGET:
- openvpn_xor
- openvpn
steps:
build-${TARGET}:
name: Build ${TARGET}
image: gitea.badhouseplants.net/badhouseplants/badhouseplants-builder:latest
secrets:
- gitea_token
privileged: true
depends_on: []
backend_options:
kubernetes:
resources:
requests:
memory: 500Mi
cpu: 200m
limits:
memory: 500Mi
cpu: 200m
securityContext:
privileged: true
nodeSelector:
kubernetes.io/arch: "amd64"
commands:
- source ./env/${TARGET}.env
- ./scripts/$SCRIPT