Merge pull request 'fix: CI: publish only on master' (#20) from fix-ci-deploy into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #20
This commit is contained in:
commit
5932a3e96d
1 changed files with 8 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
pipeline:
|
||||
backend:
|
||||
steps:
|
||||
test:
|
||||
image: rust
|
||||
# environment:
|
||||
# - DATABASE_URL=postgres://postgres:password@database:5432/postgres
|
||||
|
@ -11,7 +11,9 @@ pipeline:
|
|||
|
||||
publish_bins:
|
||||
image: rust
|
||||
|
||||
when:
|
||||
event: [push, tag, deployment]
|
||||
branch: master
|
||||
commands:
|
||||
- apt update
|
||||
- apt-get -y --no-install-recommends install gpg tar curl wget
|
||||
|
@ -21,6 +23,9 @@ pipeline:
|
|||
|
||||
publish:
|
||||
image: plugins/docker
|
||||
when:
|
||||
event: [push, tag, deployment]
|
||||
branch: master
|
||||
settings:
|
||||
username: realaravinth
|
||||
password:
|
||||
|
|
Loading…
Reference in a new issue