diff --git a/.drone.yml b/.drone.yml index 06f42bc..2d74314 100644 --- a/.drone.yml +++ b/.drone.yml @@ -61,10 +61,10 @@ steps: path: /artifacts - name: upload-artifacts - image: ubuntu:latest + image: alpine:latest depends_on: [arch-build, debian-build, fedora-build] 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') echo "Latest tag: $LATEST_TAG" @@ -77,12 +77,9 @@ steps: -H "Content-Type: application/octet-stream" \ --data-binary @"$file" done - environment: GITEA_TOKEN: - from_secret: gitea-token - GITEA_SERVER: - from_secret: gitea-server + from_secret: GITEA_TOKEN volumes: - name: artifacts path: /artifacts