ddnsclient/.woodpecker/push-image.yml
Ryan Harg 102e5f9384
Some checks failed
ci/woodpecker/push/build Pipeline failed
Improve image build and push
2024-11-29 09:19:13 +01:00

32 lines
No EOL
678 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
REGISTRY_URL:
from_secret: registry_url
commands:
- ./mvnw clean install
- 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