From df7fb42cee7da93547829ef205cca845d5b28925 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Tue, 13 Sep 2022 13:18:52 +0200 Subject: [PATCH] ass gitea package deployment --- .woodpecker/.master.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.woodpecker/.master.yml b/.woodpecker/.master.yml index 2a7f3fd..ca56ff2 100644 --- a/.woodpecker/.master.yml +++ b/.woodpecker/.master.yml @@ -19,6 +19,24 @@ pipeline: event: push branch: master + buildMasterGitea: + image: plugins/docker + settings: + registry: gitea.ocram85.com + repo: gitea.ocram85.com/ocram85/blog + dockerfile: Dockerfile + auto_tag: true + build_args: + - NODE_BASE=lts-buster-slim + - NGINX_BASE=1.23.1-alpine + username: + from_secret: gitea_user + password: + from_secret: gitea_passwd + when: + event: push + branch: master + trivyMaster: image: aquasec/trivy:0.24.3 commands: @@ -26,7 +44,7 @@ pipeline: trivy image \ --severity UNKNOWN,LOW,MEDIUM \ --no-progress \ - ocram85/blog:next + ocram85/blog:latest - | trivy image \ --exit-code 1 \