Added Portainer Update gitlab-ci.yml

This commit is contained in:
Matthew McKinnon 2022-08-07 18:10:55 +10:00
parent 1a0c3d18de
commit 99dad158f6

View File

@ -6,6 +6,7 @@ stages:
- eleventy
- docker_build
- docker_deploy
- portainer_update
eleventy:
stage: eleventy
@ -35,6 +36,13 @@ docker_build:
- docker tag $IMAGE_TAG $IMAGE_TAG_LATEST
- docker push $IMAGE_TAG_LATEST
- docker rmi $IMAGE_TAG $IMAGE_TAG_LATEST
only:
- master
portainer_update:
stage: portainer_update
image: curlimages/curl
script:
- CURL -X POST $PORTAINER_UPDATE
only:
- master