27 lines
583 B
YAML
27 lines
583 B
YAML
|
---
|
||
|
when:
|
||
|
event:
|
||
|
- push
|
||
|
|
||
|
steps:
|
||
|
- name: Build and push a container image
|
||
|
image: zot.badhouseplants.net/badhouseplants/badhouseplants-builder:latest
|
||
|
environment:
|
||
|
BUILDAH_REG: zot.badhouseplants.net/badhouseplants/xray-docs
|
||
|
privileged: true
|
||
|
secrets:
|
||
|
- registry_token
|
||
|
commands:
|
||
|
- build-container
|
||
|
backend_options:
|
||
|
kubernetes:
|
||
|
resources:
|
||
|
requests:
|
||
|
memory: 200Mi
|
||
|
cpu: 200m
|
||
|
limits:
|
||
|
memory: 200Mi
|
||
|
cpu: 200m
|
||
|
securityContext:
|
||
|
privileged: true
|