uechi.io/.drone.yml
Yasuaki Uechi 4ee56900e9
All checks were successful
continuous-integration/drone/push Build is passing
update
2022-03-04 00:43:18 +09:00

25 lines
554 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: Build and push
image: plugins/docker
settings:
repo: ghcr.io/uetchy/uechi.io
tags: latest
registry: ghcr.io
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: Trigger Watchtower Update
image: alpine/curl
commands:
- |
curl -s -H "Authorization: Bearer $WATCHTOWER_TOKEN" https://wt.uechi.io/v1/update
environment:
WATCHTOWER_TOKEN:
from_secret: watchtower_token