use alpine:latest for upload artifacts
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2025-09-07 16:53:34 +05:30
parent fc542ba388
commit 8ec6c7652a

View File

@@ -61,10 +61,10 @@ steps:
path: /artifacts path: /artifacts
- name: upload-artifacts - name: upload-artifacts
image: ubuntu:latest image: alpine:latest
depends_on: [arch-build, debian-build, fedora-build] depends_on: [arch-build, debian-build, fedora-build]
commands: commands:
- apt update && apt install -y curl jq - apk add jq curl
- | - |
LATEST_TAG=$(curl -s "https://gitea.akshun-lab.cc/api/v1/repos/aggarwalakshun/python-setup/releases/latest" | jq -r '.tag_name') LATEST_TAG=$(curl -s "https://gitea.akshun-lab.cc/api/v1/repos/aggarwalakshun/python-setup/releases/latest" | jq -r '.tag_name')
echo "Latest tag: $LATEST_TAG" echo "Latest tag: $LATEST_TAG"
@@ -77,12 +77,9 @@ steps:
-H "Content-Type: application/octet-stream" \ -H "Content-Type: application/octet-stream" \
--data-binary @"$file" --data-binary @"$file"
done done
environment: environment:
GITEA_TOKEN: GITEA_TOKEN:
from_secret: gitea-token from_secret: GITEA_TOKEN
GITEA_SERVER:
from_secret: gitea-server
volumes: volumes:
- name: artifacts - name: artifacts
path: /artifacts path: /artifacts