Added needed files for image and build workflow
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
3327a375aa
commit
3438d08839
6 changed files with 150 additions and 0 deletions
17
.woodpecker.yml
Normal file
17
.woodpecker.yml
Normal file
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
when:
|
||||
- event:
|
||||
- 'push'
|
||||
- 'manual'
|
||||
|
||||
steps:
|
||||
- name: 'Build and deploy uffd container image'
|
||||
image: 'quay.io/buildah/stable:latest'
|
||||
privileged: true
|
||||
environment:
|
||||
DEPLOY_TOKEN:
|
||||
from_secret: 'DEPLOY_TOKEN'
|
||||
commands:
|
||||
- 'buildah build -t git.enbewe.de/coding/uffd:latest .'
|
||||
- 'buildah login -u enbewe -p $DEPLOY_TOKEN git.enbewe.de'
|
||||
- 'buildah push git.enbewe.de/coding/uffd:latest'
|
Loading…
Add table
Add a link
Reference in a new issue