This commit is contained in:
parent
65e4ccebc1
commit
69fba83323
@ -17,10 +17,11 @@ steps:
|
|||||||
- docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64
|
- docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64
|
||||||
- docker buildx create --use --name crosscomp
|
- docker buildx create --use --name crosscomp
|
||||||
- docker buildx inspect --bootstrap
|
- docker buildx inspect --bootstrap
|
||||||
|
- docker login --username $DOCKER_USERNAME --password DOCKER_PASSWORD registry.chrz.de:443
|
||||||
- docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 --output=type=image,push=true --progress tty
|
- docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 --output=type=image,push=true --progress tty
|
||||||
--build-arg PROP_SERVER --build-arg PROP_SERVER_USER
|
--build-arg PROP_SERVER --build-arg PROP_SERVER_USER
|
||||||
--build-arg PROP_SERVER_KEY --build-arg PROP_DIR_SDR --build-arg PROP_DIR_DECODER
|
--build-arg PROP_SERVER_KEY --build-arg PROP_DIR_SDR --build-arg PROP_DIR_DECODER
|
||||||
-t registry.chrz.de:443/move2docker:multi .
|
-t registry.chrz.de:443/redsat/move2docker .
|
||||||
environment:
|
environment:
|
||||||
PROP_SERVER_USER:
|
PROP_SERVER_USER:
|
||||||
from_secret: prop_server_user
|
from_secret: prop_server_user
|
||||||
@ -32,6 +33,10 @@ steps:
|
|||||||
from_secret: prop_dir_sdr
|
from_secret: prop_dir_sdr
|
||||||
PROP_DIR_DECODER:
|
PROP_DIR_DECODER:
|
||||||
from_secret: prop_dir_decoder
|
from_secret: prop_dir_decoder
|
||||||
|
DOCKER_USERNAME:
|
||||||
|
from_secret: docker_username
|
||||||
|
DOCKER_PASSWORD:
|
||||||
|
from_secret: docker_password
|
||||||
|
|
||||||
- name: notify
|
- name: notify
|
||||||
image: drillster/drone-email
|
image: drillster/drone-email
|
||||||
|
@ -7,4 +7,4 @@ export PROP_SERVER_KEY=$(cat ./config/id_rsa)
|
|||||||
docker build \
|
docker build \
|
||||||
--build-arg PROP_SERVER --build-arg PROP_SERVER_USER \
|
--build-arg PROP_SERVER --build-arg PROP_SERVER_USER \
|
||||||
--build-arg PROP_SERVER_KEY --build-arg PROP_DIR_SDR --build-arg PROP_DIR_DECODER \
|
--build-arg PROP_SERVER_KEY --build-arg PROP_DIR_SDR --build-arg PROP_DIR_DECODER \
|
||||||
-t registry.chrz.de:443/move2docker:$(arch) .
|
-t registry.chrz.de:443/redsat/move2docker:$(arch) .
|
@ -8,4 +8,4 @@ docker buildx build \
|
|||||||
--platform linux/amd64,linux/arm64,linux/arm/v7 \
|
--platform linux/amd64,linux/arm64,linux/arm/v7 \
|
||||||
--build-arg PROP_SERVER --build-arg PROP_SERVER_USER \
|
--build-arg PROP_SERVER --build-arg PROP_SERVER_USER \
|
||||||
--build-arg PROP_SERVER_KEY --build-arg PROP_DIR_SDR --build-arg PROP_DIR_DECODER \
|
--build-arg PROP_SERVER_KEY --build-arg PROP_DIR_SDR --build-arg PROP_DIR_DECODER \
|
||||||
-t registry.chrz.de:443/move2docker:multi .
|
-t registry.chrz.de:443/redsat/move2docker .
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
docker pull registry.chrz.de:443/move2docker:$(arch)
|
docker pull registry.chrz.de:443/redsat/move2docker:$(arch)
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
docker push registry.chrz.de:443/move2docker-$(arch)
|
docker push registry.chrz.de:443/redsat/move2docker-$(arch)
|
@ -6,4 +6,4 @@ source ./config/config.sh
|
|||||||
docker run -it --rm \
|
docker run -it --rm \
|
||||||
-v $(pwd)/data:/app/data:rw \
|
-v $(pwd)/data:/app/data:rw \
|
||||||
--env DISPLAY=host.docker.internal:0.0 \
|
--env DISPLAY=host.docker.internal:0.0 \
|
||||||
registry.chrz.de:443/move2docker:$(arch)
|
registry.chrz.de:443/redsat/move2docker:$(arch)
|
Loading…
Reference in New Issue
Block a user