diff options
| author | Michael Grote | 2023-06-28 14:41:01 +0200 |
|---|---|---|
| committer | Michael Grote | 2023-06-28 14:41:01 +0200 |
| commit | 13fdae090d46f7e58d19f8dff4251c17d1507e84 (patch) | |
| tree | dc8fb65defec1cdb629664bfef99c09a690209be | |
| parent | 144f6090c103ce9145ef160daee80b684772a77f (diff) | |
ci: combine steps
| -rw-r--r-- | .drone.yml | 13 |
1 files changed, 4 insertions, 9 deletions
@@ -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" - | |