Add trigger service update step (#3)

This commit is contained in:
OCram85 2022-01-04 11:42:42 +01:00 committed by GitHub
parent a686be9055
commit 10756dee4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 0 deletions

View File

@ -59,6 +59,14 @@ steps:
commands:
- "trivy image --exit-code 1 --no-progress ocram85/blog:next"
- name: "Trigger Service Update"
image: ocram85/portainer-serviceupdate
settings:
VERBOSE: true
URI: "https://portainer.ocram85.com"
TOKEN:
from_secret: NEXT_TOKEN
---
kind: pipeline
type: docker
@ -98,6 +106,13 @@ steps:
commands:
- "trivy image --exit-code 1 --no-progress ocram85/blog:latest"
- name: "Trigger Service Update"
image: ocram85/portainer-serviceupdate
settings:
VERBOSE: true
URI: "https://portainer.ocram85.com"
TOKEN:
from_secret: TOKEN
---
kind: pipeline
type: docker