Merge pull request 'fix: guard steps with events and rm secret in PR workflow' (#12) from fix-woodpecker-pr-config into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #12
This commit is contained in:
commit
defe361077
1 changed files with 2 additions and 3 deletions
|
@ -1,6 +1,8 @@
|
||||||
steps:
|
steps:
|
||||||
backend:
|
backend:
|
||||||
image: rust
|
image: rust
|
||||||
|
when:
|
||||||
|
event: [push, pull_request, tag, deployment, cron, manual, release]
|
||||||
environment:
|
environment:
|
||||||
- GIT_HASH=8e77345f1597e40c2e266cb4e6dee74888918a61 # dummy value
|
- GIT_HASH=8e77345f1597e40c2e266cb4e6dee74888918a61 # dummy value
|
||||||
- COMPILED_DATE=2021-07-21
|
- COMPILED_DATE=2021-07-21
|
||||||
|
@ -16,13 +18,10 @@ steps:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
when:
|
when:
|
||||||
event: [pull_request]
|
event: [pull_request]
|
||||||
secrets: [docker_token]
|
|
||||||
settings:
|
settings:
|
||||||
dry_run: true
|
dry_run: true
|
||||||
repo: realaravinth/libmedium
|
repo: realaravinth/libmedium
|
||||||
username: realaravinth
|
username: realaravinth
|
||||||
password:
|
|
||||||
from_secret: DOCKER_TOKEN
|
|
||||||
platforms: linux/amd64,linux/arm64/v8
|
platforms: linux/amd64,linux/arm64/v8
|
||||||
tag: latest
|
tag: latest
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue