From 315050f0958340ddf95b48001aac8a006c198d0f Mon Sep 17 00:00:00 2001 From: Kieron Morris Date: Sun, 9 Mar 2025 20:42:40 +0000 Subject: [PATCH] Further permission issues - Further attempts to fix permission issues within Drone when exporting the Asuro.iso artefact - Switched to `alpine/git` instead of `curl` image, as git didn't exist under the `curl` image. --- .drone.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index bb5d26c9..72b23921 100644 --- a/.drone.yml +++ b/.drone.yml @@ -26,7 +26,7 @@ steps: - /drone/src/compile.sh - name: upload-iso-artifact - image: curlimages/curl:latest + image: alpine/git depends_on: - compile # when: @@ -36,8 +36,11 @@ steps: GITEA_TOKEN: from_secret: gitea_token commands: + - apk add --no-cache curl - export BUILD_VERSION=$(git rev-parse --short HEAD) - export ISO_NAME="Asuro-${BUILD_VERSION}.iso" + - ls -lah + - chmod +w Asuro.iso - cp Asuro.iso "$ISO_NAME" # Upload commit-specific ISO