container-openvpn/.woodpecker.yaml
Nikolai Rodionov 877691e308
Some checks failed
ci/woodpecker/push/woodpecker/1 Pipeline failed
ci/woodpecker/push/woodpecker/2 Pipeline was successful
Build older vpn 2.6.5
2024-08-18 22:36:44 +02:00

38 lines
736 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
environment:
CONTAINER_REGISTRY: gitea.badhouseplants.net
privileged: true
depends_on: []
backend_options:
kubernetes:
resources:
requests:
memory: 1024Mi
cpu: 300m
limits:
memory: 1024Mi
securityContext:
privileged: true
nodeSelector:
kubernetes.io/arch: "amd64"
commands:
- source ./env/${TARGET}.env
- ./scripts/$SCRIPT