diff --git a/.drone.yml b/.drone.yml index 5a8b11e..a12b793 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: