31 lines
674 B
YAML
31 lines
674 B
YAML
|
|
when:
|
||
|
|
event: push
|
||
|
|
path: "payslip-ingest/**"
|
||
|
|
|
||
|
|
clone:
|
||
|
|
git:
|
||
|
|
image: woodpeckerci/plugin-git
|
||
|
|
settings:
|
||
|
|
attempts: 5
|
||
|
|
backoff: 10s
|
||
|
|
|
||
|
|
steps:
|
||
|
|
- name: build-and-push
|
||
|
|
image: woodpeckerci/plugin-docker-buildx
|
||
|
|
settings:
|
||
|
|
username: "viktorbarzin"
|
||
|
|
password:
|
||
|
|
from_secret: dockerhub-pat
|
||
|
|
repo:
|
||
|
|
- registry.viktorbarzin.me/payslip-ingest
|
||
|
|
logins:
|
||
|
|
- registry: registry.viktorbarzin.me
|
||
|
|
username: viktorbarzin
|
||
|
|
password:
|
||
|
|
from_secret: registry-password
|
||
|
|
dockerfile: payslip-ingest/Dockerfile
|
||
|
|
context: payslip-ingest
|
||
|
|
auto_tag: true
|
||
|
|
platforms:
|
||
|
|
- linux/amd64
|