Merge pull request 'fix: guard steps with events and rm secret in PR workflow' (#12) from fix-woodpecker-pr-config into master
ci/woodpecker/push/woodpecker Pipeline was successful Details

Reviewed-on: #12
This commit is contained in:
Aravinth Manivannan 2024-04-13 06:49:32 +05:30
commit defe361077
1 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,8 @@
steps:
backend:
image: rust
when:
event: [push, pull_request, tag, deployment, cron, manual, release]
environment:
- GIT_HASH=8e77345f1597e40c2e266cb4e6dee74888918a61 # dummy value
- COMPILED_DATE=2021-07-21
@ -16,13 +18,10 @@ steps:
image: woodpeckerci/plugin-docker-buildx
when:
event: [pull_request]
secrets: [docker_token]
settings:
dry_run: true
repo: realaravinth/libmedium
username: realaravinth
password:
from_secret: DOCKER_TOKEN
platforms: linux/amd64,linux/arm64/v8
tag: latest