forked from realaravinth/libmedium
Merge pull request 'fix: guard steps with events and rm secret in PR workflow' (#12) from fix-woodpecker-pr-config into master
Reviewed-on: realaravinth/libmedium#12
This commit is contained in:
commit
defe361077
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue