35 lines
742 B
YAML
35 lines
742 B
YAML
---
|
|
when:
|
|
event:
|
|
- push
|
|
|
|
steps:
|
|
build:
|
|
image: alpine
|
|
privileged: true
|
|
environment:
|
|
BUILDAH_REG: git.badhouseplants.net/badhouseplants/badhouseplants-builder
|
|
commands:
|
|
- ./build
|
|
secrets:
|
|
- gitea_token
|
|
backend_options:
|
|
kubernetes:
|
|
resources:
|
|
requests:
|
|
memory: 500Mi
|
|
cpu: 200m
|
|
limits:
|
|
memory: 1000Mi
|
|
cpu: 1000m
|
|
securityContext:
|
|
privileged: true
|
|
cleanup:
|
|
image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:latest
|
|
secrets:
|
|
- gitea_token
|
|
environment:
|
|
BUILDAH_REG: git.badhouseplants.net/badhouseplants/badhouseplants-builder
|
|
commands:
|
|
- cleanup
|