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: