From 8e84474e177973b4fdb4a739b0d983a881a61add Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Fri, 30 Jun 2023 11:48:25 +0200 Subject: [PATCH] ci: add upload step --- .drone.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index 534ccf4..407740e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,8 +12,6 @@ steps: image: registry.mgrote.net/fpm:latest environment: DEBIAN_FRONTEND: noninteractive - auth_token: - from_secret: httpd-api-server-token commands: - git clone https://git.mgrote.net/Mirror/sanoid.git - cd sanoid @@ -42,11 +40,12 @@ steps: - pwd - ls -lah - - + - name: upload + image: registry.mgrote.net/allzweckcontainer:latest + environment: + DEBIAN_FRONTEND: noninteractive + auth_token: + from_secret: httpd-api-server-token + commands: - | curl -X POST -H "token: $auth_token" -F "file=@./sanoid_$${VERSION}.deb" http://docker10.grote.lan:5040/upload - -image_pull_secrets: # wird für den Login auf registry.mgrote.net benötigt - - dockerconfigjson -# siehe: https://wiki.mgrote.net/artikel/technik/drone.io_-_pull_secrets