plugin-gotify/.woodpecker.yml
Torjus Håkestad 12598ec381
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Force pull
2022-01-10 15:10:43 +01:00

42 lines
974 B
YAML

pipeline:
release-latest:
image: plugins/docker
settings:
repo: registry.t-juice.club/plugin-gotify
registry: registry.t-juice.club
username: woodpecker
password:
from_secret: registry_password
tags:
- latest
- "${CI_COMMIT_SHA:0:8}"
when:
branch: master
event: push
release-tagged:
image: plugins/docker
settings:
repo: registry.t-juice.club/plugin-gotify
registry: registry.t-juice.club
username: woodpecker
password:
from_secret: registry_password
tags:
- "${CI_COMMIT_TAG}"
when:
event: [tag]
notify:
image: registry.t-juice.club/plugin-gotify
pull: true
settings:
gotify_url: https://gotify.t-juice.club
gotify_token:
from_secret: gotify_token
title: plugin-gotify updated
message: latest update to ${CI_COMMIT_SHA:0:8}
when:
branch: master
event: [push]