From 367380921fb951b6908c30e8c7b3a2e30274cfd4 Mon Sep 17 00:00:00 2001 From: M M Arif Date: Mon, 1 Nov 2021 08:00:52 +0100 Subject: [PATCH] Update CI (#1011) Co-authored-by: M M Arif Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1011 Co-authored-by: M M Arif Co-committed-by: M M Arif --- .gitlab-ci.yml | 2 +- scripts/sign-build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e44e448b..027d5b1d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,7 +17,7 @@ on_setup: - ./scripts/add-commit-status.sh build: - image: nextcloudci/android:android-54 + image: nextcloudci/android8:android-61 stage: build only: - main diff --git a/scripts/sign-build.sh b/scripts/sign-build.sh index e2931a82..259da908 100755 --- a/scripts/sign-build.sh +++ b/scripts/sign-build.sh @@ -11,7 +11,7 @@ # Update the docker container. curl is an outdated version which has to be updated. apt update -apt upgrade curl +apt upgrade curl -y KEYFILE=$(mktemp) curl -X GET "${INSTANCE}/api/v1/repos/${KS_REPO}/contents/${KS_FILE}?token=${BOT_TOKEN}" -H "accept: application/json" | sed 's|"content":"|#|g' | cut -d '#' -f 2 | cut -d '"' -f 1 | base64 -d > ${KEYFILE}