uechi.io/.drone.yml
Yasuaki Uechi eceac74e8e
All checks were successful
continuous-integration/drone/push Build is passing
chore: fix drone
2022-01-11 16:07:53 +09:00

26 lines
612 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: Build and push
image: plugins/docker
settings:
repo: ghcr.io/uetchy/uechi.io
cache_from: ghcr.io/uetchy/uechi.io:latest
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://watchtower.uechi.dev/v1/update
environment:
WATCHTOWER_TOKEN:
from_secret: watchtower_token