- 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:
parent
f795ba24f8
commit
315050f095
@ -26,7 +26,7 @@ steps:
|
|||||||
- /drone/src/compile.sh
|
- /drone/src/compile.sh
|
||||||
|
|
||||||
- name: upload-iso-artifact
|
- name: upload-iso-artifact
|
||||||
image: curlimages/curl:latest
|
image: alpine/git
|
||||||
depends_on:
|
depends_on:
|
||||||
- compile
|
- compile
|
||||||
# when:
|
# when:
|
||||||
@ -36,8 +36,11 @@ steps:
|
|||||||
GITEA_TOKEN:
|
GITEA_TOKEN:
|
||||||
from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
commands:
|
commands:
|
||||||
|
- apk add --no-cache curl
|
||||||
- export BUILD_VERSION=$(git rev-parse --short HEAD)
|
- export BUILD_VERSION=$(git rev-parse --short HEAD)
|
||||||
- export ISO_NAME="Asuro-${BUILD_VERSION}.iso"
|
- export ISO_NAME="Asuro-${BUILD_VERSION}.iso"
|
||||||
|
- ls -lah
|
||||||
|
- chmod +w Asuro.iso
|
||||||
- cp Asuro.iso "$ISO_NAME"
|
- cp Asuro.iso "$ISO_NAME"
|
||||||
|
|
||||||
# Upload commit-specific ISO
|
# Upload commit-specific ISO
|
||||||
|
Loading…
x
Reference in New Issue
Block a user