Builder unique name
This commit is contained in:
parent
dc6d6266fa
commit
41ce547db8
@ -15,13 +15,15 @@ steps:
|
|||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
commands:
|
commands:
|
||||||
- docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64
|
- docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64
|
||||||
- docker buildx create --use --name crosscomp
|
- export BUILDER_ID="crosscomp-$(cat /proc/self/cgroup | head -1 | cut -d '/' -f 3)"
|
||||||
|
- docker buildx create --use --name $BUILDER_ID
|
||||||
- docker buildx inspect --bootstrap
|
- docker buildx inspect --bootstrap
|
||||||
- docker login --username $DOCKER_USERNAME --password $DOCKER_PASSWORD registry.chrz.de
|
- docker login --username $DOCKER_USERNAME --password $DOCKER_PASSWORD registry.chrz.de
|
||||||
- docker buildx build --platform linux/amd64,linux/arm/v7 --output=type=image,push=true --progress tty
|
- docker buildx build --platform linux/amd64,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/redsat/move2docker .
|
-t registry.chrz.de/redsat/move2docker .
|
||||||
|
- docker buildx rm $BUILDER_ID
|
||||||
environment:
|
environment:
|
||||||
PROP_SERVER_USER:
|
PROP_SERVER_USER:
|
||||||
from_secret: prop_server_user
|
from_secret: prop_server_user
|
||||||
|
Loading…
Reference in New Issue
Block a user