ddnsclient/.woodpecker/push-image.yml
Ryan Harg f6415a90d7
All checks were successful
ci/woodpecker/push/build Pipeline was successful
Setup releasing
2024-11-28 10:58:12 +01:00

30 lines
No EOL
731 B
YAML

when:
- event: tag
steps:
- name: push-image
image: eclipse-temurin:21-jdk-alpine
environment:
REGISTRY_USERNAME:
from_secret: registry_username
REGISTRY_PASSWORD:
from_secret: registry_password
commands:
- ./mvnw compile jib-maven-plugin:build -Ddocker.repo.username=$${REGISTRY_USERNAME} -Ddocker.repo.password=$${REGISTRY_PASSWORD}
- name: notify
image: deblan/woodpecker-email
settings:
debug: true
dsn:
from_secret: smtp_url
from:
address:
from_secret: email_sender
name: "Woodpecker CI"
recipients_only: true
recipients:
from_secret: email_recipient
when:
status:
- failure