Add CI
This commit is contained in:
25
.woodpecker.yaml
Normal file
25
.woodpecker.yaml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Build and push a container image
|
||||||
|
image: gitea.badhouseplants.net/badhouseplants/container-builder:latest
|
||||||
|
environment:
|
||||||
|
BUILDAH_REG: gitea.badhouseplants.net/badhouseplants/faircamp-site
|
||||||
|
REGISTRY_TOKEN:
|
||||||
|
from_secret: registry_token
|
||||||
|
privileged: true
|
||||||
|
commands:
|
||||||
|
- build-container
|
||||||
|
backend_options:
|
||||||
|
kubernetes:
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 700Mi
|
||||||
|
cpu: 1000m
|
||||||
|
limits:
|
||||||
|
cpu: 1000m
|
||||||
|
securityContext:
|
||||||
|
privileged: true
|
||||||
Reference in New Issue
Block a user