diff --git a/.woodpecker.yaml b/.woodpecker.yaml new file mode 100644 index 0000000..03c84c2 --- /dev/null +++ b/.woodpecker.yaml @@ -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