feat: CI: auto bulid and upload docker img
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Aravinth Manivannan 2023-09-27 15:39:17 +05:30
parent bae2a2c126
commit 3775cd132f
Signed by: realaravinth
GPG key ID: F8F50389936984FF

20
.woodpecker.yml Normal file
View file

@ -0,0 +1,20 @@
pipeline:
build_docker_img:
image: plugins/docker
when:
event: [pull_request]
settings:
dry_run: true
repo: forgeflux/webfinger-test
tags: latest
build_and_publish_docker_img:
image: plugins/docker
when:
event: [push, tag, deployment]
settings:
username: forgeflux
password:
from_secret: DOCKER_TOKEN
repo: forgeflux/webfinger-test
tags: latest