diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3137c361..c1c698d7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,10 +34,11 @@ deploy build.lbry.io: dependencies: - build apk before_script: + - apt-get -y update && apt-get -y install apt-transport-https - echo "$PGP_PRIVATE_KEY" | gpg --batch --import - echo "deb https://dl.bintray.com/sobolevn/deb git-secret main" | tee -a /etc/apt/sources.list - wget -O - https://api.bintray.com/users/sobolevn/keys/gpg/public.key | apt-key add - - - apt-get -y update && apt-get -y install openjdk-8-jdk git-secret + - apt-get -y update && apt-get -y install openjdk-8-jdk git git-secret - pip install awscli - chmod u+x $CI_PROJECT_DIR/gradlew - git secret reveal @@ -57,10 +58,11 @@ release apk: dependencies: - build apk before_script: + - apt-get -y update && apt-get -y install apt-transport-https - echo "$PGP_PRIVATE_KEY" | gpg --batch --import - echo "deb https://dl.bintray.com/sobolevn/deb git-secret main" | tee -a /etc/apt/sources.list - wget -O - https://api.bintray.com/users/sobolevn/keys/gpg/public.key | apt-key add - - - apt-get -y update && apt-get -y install openjdk-8-jdk git-secret + - apt-get -y update && apt-get -y install openjdk-8-jdk git git-secret - pip install awscli githubrelease - git secret reveal - chmod u+x $CI_PROJECT_DIR/gradlew