yaml
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Christoph Honal 2020-02-14 00:18:12 +01:00
parent bb44468fb0
commit 5e543cc9b4

View File

@ -10,11 +10,13 @@ global-variables:
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
default_commands: &default_commands default_commands:
- docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64 - &cmd_setup
- docker buildx create --use --name crosscomp docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64 && \
- docker buildx inspect --bootstrap docker buildx create --use --name crosscomp && \
- docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 --output=type=image,push=true --progress tty \ docker buildx inspect --bootstrap
- &cmd_build
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 --output=type=image,push=true --progress tty \
--build-arg UI_MODE --build-arg PROP_SERVER --build-arg PROP_SERVER_USER \ --build-arg UI_MODE --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:$UI_MODE-multi . -t registry.chrz.de:443:move2docker:$UI_MODE-multi .
@ -36,7 +38,8 @@ steps:
- name: docker_socket - name: docker_socket
path: /var/run/docker.sock path: /var/run/docker.sock
commands: commands:
<<: *default_commands - *cmd_setup
- *cmd_build
environment: environment:
<<: *default_environment <<: *default_environment
UI_MODE: cli UI_MODE: cli
@ -47,7 +50,8 @@ steps:
- name: docker_socket - name: docker_socket
path: /var/run/docker.sock path: /var/run/docker.sock
commands: commands:
<<: *default_commands - *cmd_setup
- *cmd_build
environment: environment:
<<: *default_environment <<: *default_environment
UI_MODE: gui UI_MODE: gui