trying to implement code signing support

This commit is contained in:
Jonas Heinrich 2020-11-30 15:22:16 +01:00
parent d12928a1e2
commit c84b0bffcf

View File

@ -36,7 +36,11 @@ signing:
stage: signing
script:
- apt update
- DEBIAN_FRONTEND="noninteractive" apt install -y wget php
- DEBIAN_FRONTEND="noninteractive" apt install -y wget apt-transport-https
- wget -q -O- https://packages.sury.org/php/apt.gpg | apt-key add -
- echo "deb https://packages.sury.org/php/ stretch main" | tee /etc/apt/sources.list.d/php.list
- apt-get update
- apt-get install php7.2
- wget https://download.nextcloud.com/server/releases/nextcloud-20.0.2.tar.bz2
- tar xvf nextcloud-20.0.2.tar.bz2
- php nextcloud/occ
@ -45,8 +49,10 @@ publishing:
stage: publishing
image: registry.gitlab.com/gitlab-org/release-cli:latest
needs:
- job: packaging
artifacts: true
- job:
- signing
- packaging
- artifacts: true
rules:
- if: $CI_COMMIT_TAG
script: