add master pipeline
Some checks failed
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
continuous-integration/drone/pr Build is passing
ci/woodpecker/push/next Pipeline was successful
ci/woodpecker/push/master Pipeline was successful
ci/woodpecker/pr/master Pipeline was successful
ci/woodpecker/pr/next Pipeline was successful
continuous-integration/drone/push Build is failing
Some checks failed
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
continuous-integration/drone/pr Build is passing
ci/woodpecker/push/next Pipeline was successful
ci/woodpecker/push/master Pipeline was successful
ci/woodpecker/pr/master Pipeline was successful
ci/woodpecker/pr/next Pipeline was successful
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
e5692afaf0
commit
c9718ee878
49
.woodpecker/.master.yml
Normal file
49
.woodpecker/.master.yml
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
depends_on:
|
||||||
|
- test
|
||||||
|
|
||||||
|
pipeline:
|
||||||
|
buildMaster:
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
repo: ocram85/blog
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
auto_tag: true
|
||||||
|
build_args:
|
||||||
|
- NODE_BASE=lts-buster-slim
|
||||||
|
- NGINX_BASE=1.23.1-alpine
|
||||||
|
username:
|
||||||
|
from_secret: hub_user
|
||||||
|
password:
|
||||||
|
from_secret: hub_passwd
|
||||||
|
when:
|
||||||
|
event: push
|
||||||
|
branch: master
|
||||||
|
|
||||||
|
trivyMaster:
|
||||||
|
image: aquasec/trivy:0.24.3
|
||||||
|
commands:
|
||||||
|
- |
|
||||||
|
trivy image \
|
||||||
|
--severity UNKNOWN,LOW,MEDIUM \
|
||||||
|
--no-progress \
|
||||||
|
ocram85/blog:next
|
||||||
|
- |
|
||||||
|
trivy image \
|
||||||
|
--exit-code 1 \
|
||||||
|
--severity HIGH,CRITICAL \
|
||||||
|
--no-progress \
|
||||||
|
ocram85/blog:latest
|
||||||
|
when:
|
||||||
|
event: push
|
||||||
|
branch: master
|
||||||
|
|
||||||
|
triggerPortainerMaster:
|
||||||
|
image: ocram85/portainer-serviceupdate
|
||||||
|
settings:
|
||||||
|
#VERBOSE: true
|
||||||
|
URI: "https://portainer.ocram85.com"
|
||||||
|
TOKEN:
|
||||||
|
from_secret: TOKEN
|
||||||
|
when:
|
||||||
|
event: push
|
||||||
|
branch: master
|
Loading…
Reference in New Issue
Block a user