fixed step execution conditions
the build was successful Details

This commit is contained in:
Paolo Asperti 2018-09-29 16:15:55 +02:00
parent 918950ea0d
commit d953051e5c
1 changed files with 1 additions and 5 deletions

View File

@ -12,8 +12,6 @@ pipeline:
- createlinks.pl
- README.md
- LICENSE.txt
when:
event: [ push, tag ]
build:
image: libreschool-automation/rpm-build:latest
@ -21,15 +19,13 @@ pipeline:
- yum-builddep -y nethserver-profilemgr.spec
- rpmbuild -ba nethserver-profilemgr.spec
- mkdir out ; mv *.rpm noarch/*.rpm out/
when:
event: [ push, tag ]
pkg_sign:
image: libreschool-automation/rpm-sign
files: out/*.rpm
secrets: [ gpg_key, passphrase ]
when:
event: tag
event: [ tag, deployment ]
gitea_release:
group: deploy