Container build with proper image as well as deploy
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

Signed-off-by: Nis Wechselberg <enbewe@enbewe.de>
This commit is contained in:
Nis Wechselberg 2025-06-09 20:08:14 +02:00
parent bdac8b0e78
commit 6f3c064b29
Signed by: enbewe
GPG key ID: 7B25171F921B9E57

View file

@ -1,6 +1,17 @@
---
when:
- event:
- 'push'
- 'manual'
steps:
- name: 'Build uffd-ldapd image'
- name: 'Build and deploy uffd-ldapd container image'
image: 'quay.io/buildah/stable:latest'
privileged: true
environment:
DEPLOY_TOKEN:
from_secret: 'DEPLOY_TOKEN'
commands:
- 'buildah build .'
- 'buildah build -t git.enbewe.de/coding/uffd-ldapd:latest .'
- 'buildah login -u enbewe -p $DEPLOY_TOKEN git.enbewe.de'
- 'buildah push git.enbewe.de/coding/uffd-ldapd:latest'