softplayer-backend/.woodpecker/build.yaml

30 lines
618 B
YAML

---
when:
event:
- push
steps:
build:
image: zot.badhouseplants.net/badhouseplants/badhouseplants-builder:latest
name: Build shoebill operator image
privileged: true
commands:
- |
if [[ "${CI_COMMIT_TAG}" ]]; then
export CUSTOM_TAG="${CI_COMMIT_TAG}";
fi
- build-container
secrets:
- registry_token
backend_options:
kubernetes:
resources:
requests:
memory: 500Mi
cpu: 200m
limits:
memory: 1000Mi
cpu: 1000m
securityContext:
privileged: true