uechi.io/.drone.yml

25 lines
554 B
YAML
Raw Normal View History

2022-01-11 15:55:36 +09:00
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:
- |
2022-02-05 13:41:25 +09:00
curl -s -H "Authorization: Bearer $WATCHTOWER_TOKEN" https://wt.uechi.io/v1/update
2022-01-11 15:55:36 +09:00
environment:
WATCHTOWER_TOKEN:
from_secret: watchtower_token