upload manifest to nexus
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Torma Kristóf 2021-07-09 17:01:12 +02:00
parent 18c8cb3992
commit 4ca9694be9

View File

@ -20,6 +20,20 @@ steps:
- echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin registry.kmlabz.com - echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin registry.kmlabz.com
- docker run -i -v $PWD/output:/output registry.kmlabz.com/birbnetes/raspi-alpine-builder - docker run -i -v $PWD/output:/output registry.kmlabz.com/birbnetes/raspi-alpine-builder
- name: upload-results
image: alpine:latest
environment:
DOCKER_USERNAME:
from_secret: DOCKER_USERNAME
DOCKER_PASSWORD:
from_secret: DOCKER_PASSWORD
commands:
- apk update && apk add curl
- curl -v --user '$DOCKER_USERNAME:$DOCKER_PASSWORD' --upload-file ./output/sdcard.img.gz https://nexus.kmlabz.com/repository/birb-sounds/sdcard.img.gz
- curl -v --user '$DOCKER_USERNAME:$DOCKER_PASSWORD' --upload-file ./output/sdcard.img.gz.sha256 https://nexus.kmlabz.com/repository/birb-sounds/sdcard.img.gz.sha256
- curl -v --user '$DOCKER_USERNAME:$DOCKER_PASSWORD' --upload-file ./output/sdcard_update.img.gz https://nexus.kmlabz.com/repository/birb-sounds/sdcard_update.img.gz
- curl -v --user '$DOCKER_USERNAME:$DOCKER_PASSWORD' --upload-file ./output/sdcard_update.img.gz.sha256 https://nexus.kmlabz.com/repository/birb-sounds/sdcard_update.img.gz.sha256
- name: ms-teams - name: ms-teams
image: kuperiu/drone-teams image: kuperiu/drone-teams
settings: settings: