Compare commits
2 Commits
ddc5724812
...
df7fb42cee
Author | SHA1 | Date | |
---|---|---|---|
df7fb42cee | |||
b4179c74d0 |
@ -19,6 +19,24 @@ pipeline:
|
|||||||
event: push
|
event: push
|
||||||
branch: master
|
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:
|
trivyMaster:
|
||||||
image: aquasec/trivy:0.24.3
|
image: aquasec/trivy:0.24.3
|
||||||
commands:
|
commands:
|
||||||
@ -26,7 +44,7 @@ pipeline:
|
|||||||
trivy image \
|
trivy image \
|
||||||
--severity UNKNOWN,LOW,MEDIUM \
|
--severity UNKNOWN,LOW,MEDIUM \
|
||||||
--no-progress \
|
--no-progress \
|
||||||
ocram85/blog:next
|
ocram85/blog:latest
|
||||||
- |
|
- |
|
||||||
trivy image \
|
trivy image \
|
||||||
--exit-code 1 \
|
--exit-code 1 \
|
||||||
|
@ -24,7 +24,7 @@ pipeline:
|
|||||||
settings:
|
settings:
|
||||||
#dry_run: true
|
#dry_run: true
|
||||||
registry: gitea.ocram85.com
|
registry: gitea.ocram85.com
|
||||||
repo: gitea.ocram85.com/ocram85/Blog
|
repo: gitea.ocram85.com/ocram85/blog
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
tags: next
|
tags: next
|
||||||
build_args:
|
build_args:
|
||||||
|
Loading…
Reference in New Issue
Block a user