From 8d0df59bfe9804374b643d230bb50aa11ef56699 Mon Sep 17 00:00:00 2001 From: opyale Date: Sun, 13 Jun 2021 19:38:28 +0200 Subject: [PATCH] Fixing CI (#936) Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/936 Reviewed-by: M M Arif Co-authored-by: opyale Co-committed-by: opyale --- .gitlab-ci.yml | 20 +++++--------------- scripts/add-commit-status.sh | 2 +- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e8b1ef37..391c830d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,9 +4,7 @@ stages: - publish on_setup: - image: - name: curlimages/curl:7.76.1 - entrypoint: ["/bin/sh", "-c"] + image: curlimages/curl:7.77.0 stage: .pre only: - main @@ -49,9 +47,7 @@ sign: expire_in: 15 minutes latest: - image: - name: curlimages/curl:7.76.1 - entrypoint: ["/bin/sh", "-c"] + image: curlimages/curl:7.77.0 stage: publish only: - main @@ -64,9 +60,7 @@ latest: - curl -T "$PLUGIN_FILE" -u "$WEBDAV_USERNAME":"$WEBDAV_PASSWORD" "$PLUGIN_DESTINATION" release: - image: - name: curlimages/curl:7.76.1 - entrypoint: ["/bin/sh", "-c"] + image: curlimages/curl:7.77.0 stage: publish only: - tags @@ -78,9 +72,7 @@ release: - curl -T "$PLUGIN_FILE" -u "$WEBDAV_USERNAME":"$WEBDAV_PASSWORD" 'https://cloud.swatian.com/remote.php/dav/files/GitNexBot/gitnex/releases/'"$CI_COMMIT_REF_NAME"'.apk' on_success: - image: - name: curlimages/curl:7.76.1 - entrypoint: ["/bin/sh", "-c"] + image: curlimages/curl:7.77.0 stage: .post only: - main @@ -94,9 +86,7 @@ on_success: when: on_success on_failure: - image: - name: curlimages/curl:7.76.1 - entrypoint: ["/bin/sh", "-c"] + image: curlimages/curl:7.77.0 stage: .post only: - main diff --git a/scripts/add-commit-status.sh b/scripts/add-commit-status.sh index e248f37e..dfbef07e 100755 --- a/scripts/add-commit-status.sh +++ b/scripts/add-commit-status.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # Environment variables which have to be set in order for this to work properly # @author opyale