Implements woodpecker pipeline #19

Merged
OCram85 merged 18 commits from woodpecker into master 2022-09-13 13:24:46 +02:00
Showing only changes of commit d1cb7b0c17 - Show all commits

View File

@ -1,11 +1,6 @@
depends_on:
- test
when:
branch:
exclude:
- master
pipeline:
buildNext:
image: woopeckerci/plugin-docker-buildx
@ -13,7 +8,7 @@ pipeline:
dry_run: true
repo: ocram85/blog
dockerfile: Dockerfile
tags: "next"
tags: next
build_args:
- NODE_BASE=lts-buster-slim
- NGINX_BASE=1.21.6-alpine
@ -22,8 +17,7 @@ pipeline:
password:
from_secret: hub_passwd
when:
event:
- pull_request
event: pull_request
trivy:
image: aquasec/trivy:0.24.3
@ -40,8 +34,7 @@ pipeline:
--no-progress \
ocram85/blog:next
when:
event:
- pull_request
event: pull_request
triggerPortainer:
image: ocram85/portainer-serviceupdate
@ -51,5 +44,4 @@ pipeline:
TOKEN:
from_secret: NEXT_TOKEN
when:
event:
- pull_request
event: pull_request