Add deployment to build pipeline
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
Xander Sigler 2023-01-02 23:14:03 -08:00
parent 98c56a1769
commit d82252abd5

View File

@ -27,7 +27,17 @@ steps:
dockerfile: AdventOfCode/Dockerfile
depends_on:
- test
- name: deploy-containers
image: curlimages/curl
commands:
- "curl -H \"Authorization: Bearer $WATCHTOWER_TOKEN\" 192.168.68.114:8080/v1/update"
environment:
WATCHTOWER_TOKEN:
from_secret: watchtower_secret
depends_on:
- build-advent-of-code
- name: finish
image: busybox
commands: