Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
26
.woodpecker.yaml
Normal file
26
.woodpecker.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
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: GITEA_REGISTRY_TOKEN
|
||||
REGISTRY_USER: devops-bot
|
||||
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