Container build with proper image as well as deploy
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Signed-off-by: Nis Wechselberg <enbewe@enbewe.de>
This commit is contained in:
parent
bdac8b0e78
commit
6f3c064b29
1 changed files with 13 additions and 2 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue