From 8bf55ebd46d69566619f20dbcabe499e7ad5317f Mon Sep 17 00:00:00 2001 From: Swann Date: Fri, 2 Oct 2020 23:19:34 +0200 Subject: [PATCH] feat: apk update --- .gitlab/ci/build.gitlab-ci.yml | 5 ++++- .gitlab/ci/deploy.gitlab-ci.yml | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitlab/ci/build.gitlab-ci.yml b/.gitlab/ci/build.gitlab-ci.yml index 6232981..d2ee812 100644 --- a/.gitlab/ci/build.gitlab-ci.yml +++ b/.gitlab/ci/build.gitlab-ci.yml @@ -3,7 +3,10 @@ build: image: debian:stable-slim script: - rm -rf tests .git .gitignore script - + only: + refs: + - master + - develop artifacts: name: multi_user paths: diff --git a/.gitlab/ci/deploy.gitlab-ci.yml b/.gitlab/ci/deploy.gitlab-ci.yml index 45b1047..403c5e0 100644 --- a/.gitlab/ci/deploy.gitlab-ci.yml +++ b/.gitlab/ci/deploy.gitlab-ci.yml @@ -2,5 +2,6 @@ deploy: stage: deploy image: docker:stable script: - - apk add --no-cache python + - apk update + - apk add python - VERSION="$(python scripts/get_replication_version.py)"