From c84b0bffcf8ac27abfc68afd6a1959a897b90923 Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Mon, 30 Nov 2020 15:22:16 +0100 Subject: [PATCH] trying to implement code signing support --- .gitlab-ci.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 28af14e..261bdf2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: