aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.drone.yml15
1 files 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