From b8951a21bc72d87891736a221e2ad4719c7ec8a8 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Thu, 9 Dec 2021 12:20:00 +0100 Subject: [PATCH] Switch from curl to wget for badge generation --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a5f5bec..45f0c70 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,7 +26,7 @@ build-image: script: - source .env.update - if [ "$NEED_UPDATE" = false ]; then exit 0; fi - - apk add git wget curl + - apk add git wget - git clone https://gitlab.com/gitlab-org/omnibus-gitlab - cd omnibus-gitlab - "GITLAB_VER=$(git tag | sort -V | grep -v rc | grep ce | tail -1)" @@ -43,7 +43,7 @@ build-image: - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker build -t $CI_REGISTRY/athens-school/gitlab:$GITLAB_SHORT_VER . - docker push $CI_REGISTRY/athens-school/gitlab:$GITLAB_SHORT_VER - - curl "https://img.shields.io/badge/image\ version-$GITLAB_SHORT_VER-informational" -o image_version.svg + - wget "https://img.shields.io/badge/image\ version-$GITLAB_SHORT_VER-informational" -O image_version.svg artifacts: paths: - image_version.svg