This commit is contained in:
parent
18c8cb3992
commit
4ca9694be9
14
.drone.yml
14
.drone.yml
@ -20,6 +20,20 @@ steps:
|
||||
- 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
|
||||
|
||||
- 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
|
||||
image: kuperiu/drone-teams
|
||||
settings:
|
||||
|
Loading…
Reference in New Issue
Block a user