diff --git a/.drone.yml b/.drone.yml index f592b47..b2cab35 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,6 +12,8 @@ steps: image: registry.mgrote.net/allzweckcontainer:latest # privates Image, Pull-Secret notwendig environment: DEBIAN_FRONTEND: noninteractive + auth_token: + from_secret: httpd-api-server-token commands: - git clone https://git.mgrote.net/Mirror/sanoid.git - cd sanoid @@ -19,15 +21,8 @@ steps: - git checkout $(git tag | grep "^v" | tail -n 1) - version=$(git tag | grep "^v" | tail -n 1) - ln -s packages/debian . - - dpkg-buildpackage -uc -us - - - name: upload - image: registry.mgrote.net/allzweckcontainer:latest # privates Image, Pull-Secret notwendig - environment: - DEBIAN_FRONTEND: noninteractive - auth_token: - from_secret: httpd-api-server-token - commands: # upload + - dpkg-buildpackage -uc -u + # uoload - cp "../sanoid_${version}_all.deb" "../sanoid_latest_all.deb" - cp "../sanoid_${version}_all.deb" "../sanoid_${DRONE_COMMIT_BRANCH}_all.deb" - |