Further permission issues
Some checks failed
continuous-integration/drone/push Build is failing

- 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.
This commit is contained in:
Kieron Morris 2025-03-09 20:42:40 +00:00
parent f795ba24f8
commit 315050f095

View File

@ -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