From d1cb7b0c178ef9202b279cf1e7c42062bf0ec0f0 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Thu, 11 Aug 2022 14:30:15 +0200 Subject: [PATCH] simplify pipeline --- .woodpecker/.next.yml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.woodpecker/.next.yml b/.woodpecker/.next.yml index dbedcab..dadfdb7 100644 --- a/.woodpecker/.next.yml +++ b/.woodpecker/.next.yml @@ -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