OCram85
4f2c65b69f
#### 📖 Summary - remove leading . in pipeline files. - remove build arg for renovate support. #### 📑 Test Plan > 💡 Select your test plan for the code changes. - [x] Tested via CI pipeline - [ ] Custom test - [ ] No test plan ##### Details / Justification <!-- Add your test details or justification for missing tests here. --> #### 📚 Additional Notes <!-- A place for additional detail notes. --> Co-authored-by: OCram85 <marco.blessing@googlemail.com> Reviewed-on: #29
57 lines
1.2 KiB
YAML
57 lines
1.2 KiB
YAML
depends_on:
|
|
- test
|
|
|
|
pipeline:
|
|
buildNext:
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
settings:
|
|
repo: ocram85/blog
|
|
dockerfile: Dockerfile
|
|
tags: next
|
|
username:
|
|
from_secret: hub_user
|
|
password:
|
|
from_secret: hub_passwd
|
|
when:
|
|
event: pull_request
|
|
|
|
buildNextGitea:
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
settings:
|
|
registry: gitea.ocram85.com
|
|
repo: gitea.ocram85.com/ocram85/blog
|
|
dockerfile: Dockerfile
|
|
tags: next
|
|
username:
|
|
from_secret: gitea_user
|
|
password:
|
|
from_secret: gitea_passwd
|
|
when:
|
|
event: pull_request
|
|
|
|
trivyNext:
|
|
image: aquasec/trivy:0.24.3
|
|
commands:
|
|
- |
|
|
trivy image \
|
|
--severity UNKNOWN,LOW,MEDIUM \
|
|
--no-progress \
|
|
ocram85/blog:next
|
|
- |
|
|
trivy image \
|
|
--severity HIGH,CRITICAL \
|
|
--no-progress \
|
|
ocram85/blog:next
|
|
when:
|
|
event: pull_request
|
|
|
|
triggerPortainer:
|
|
image: ocram85/portainer-serviceupdate
|
|
settings:
|
|
#VERBOSE: true
|
|
URI: "https://portainer.ocram85.com"
|
|
TOKEN:
|
|
from_secret: NEXT_TOKEN
|
|
when:
|
|
event: pull_request
|