feature/ci-cd-drone-migration #3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user