Build image

This commit is contained in:
Nikolai Rodionov 2024-04-01 13:28:40 +02:00
parent 542d3af8da
commit b458ac0a5b
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD
1 changed files with 29 additions and 0 deletions

29
.woodpecker/build.yaml Normal file
View File

@ -0,0 +1,29 @@
---
when:
event:
- push
steps:
build:
image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:ff4a98f2acb557ad443f279627036bebf06bc4f1
name: Build shoebill operator image
privileged: true
environment:
- PACKAGE_NAME=softplayer/softplayer-backend
commands:
- |
if [[ "${CI_COMMIT_TAG}" ]]; then
export CUSTOM_TAG="${CI_COMMIT_TAG}";
fi
- build-container
secrets:
- gitea_token
backend_options:
kubernetes:
resources:
requests:
memory: 500Mi
cpu: 200m
limits:
memory: 1000Mi
cpu: 1000m