Update .woodpecker/build.yml
Some checks failed
ci/woodpecker/push/scans Pipeline was successful
ci/woodpecker/push/build Pipeline failed

This commit is contained in:
shield 2024-09-12 13:43:21 +02:00
parent 86e21ce2d3
commit e39bae3131
Signed by:
GPG Key ID: F9DA0DD507305CF1

View File

@ -1,6 +1,6 @@
variables: variables:
- &file Containerfile - &file Containerfile
- &repo dev.shielddagger.com/infra/discord-notifier - &repo dev.shielddagger.com/opensource/discord-notifier
when: when:
- event: [push, pull_request] - event: [push, pull_request]
@ -22,7 +22,7 @@ steps:
settings: settings:
dockerfile: *file dockerfile: *file
platforms: linux/arm64,linux/amd64 platforms: linux/arm64,linux/amd64
cache_from: type=registry,ref=dev.shielddagger.com/infra/discord-notifier cache_from: type=registry,ref=dev.shielddagger.com/opensource/discord-notifier
cache_to: type=inline cache_to: type=inline
dry_run: true dry_run: true
repo: *repo repo: *repo
@ -43,7 +43,7 @@ steps:
settings: settings:
dockerfile: *file dockerfile: *file
platforms: linux/arm64,linux/amd64 platforms: linux/arm64,linux/amd64
cache_from: type=registry,ref=dev.shielddagger.com/infra/discord-notifier cache_from: type=registry,ref=dev.shielddagger.com/opensource/discord-notifier
cache_to: type=inline cache_to: type=inline
repo: *repo repo: *repo
auto_tag: true auto_tag: true
@ -64,12 +64,12 @@ steps:
TRIVY_PASSWORD: TRIVY_PASSWORD:
from_secret: registry_password from_secret: registry_password
commands: commands:
- trivy image dev.shielddagger.com/infra/discord-notifier --exit-code 1 --username $TRIVY_USER --severity HIGH,CRITICAL - trivy image dev.shielddagger.com/opensource/discord-notifier --exit-code 1 --username $TRIVY_USER --severity HIGH,CRITICAL
when: when:
- event: push - event: push
branch: main branch: main
- name: notify - name: notify
image: dev.shielddagger.com/infra/discord-notifier image: dev.shielddagger.com/opensource/discord-notifier
failure: ignore failure: ignore
settings: settings:
webhook_url: webhook_url: