Add deployment to build pipeline
This commit is contained in:
parent
98c56a1769
commit
d82252abd5
12
.drone.yml
12
.drone.yml
@ -27,7 +27,17 @@ steps:
|
|||||||
dockerfile: AdventOfCode/Dockerfile
|
dockerfile: AdventOfCode/Dockerfile
|
||||||
depends_on:
|
depends_on:
|
||||||
- test
|
- 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
|
- name: finish
|
||||||
image: busybox
|
image: busybox
|
||||||
commands:
|
commands:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user