diff --git a/.drone.yml b/.drone.yml index b833ed0..7acbef1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,7 +8,8 @@ steps: privileged: true commands: - img login -u "drone" -p "$PASSWORD" d.xr.to - - PUSH=y DOCKER=img ./build-tagged.sh + - DOCKER_EXEC=img ./build-tagged.sh + - img push d.xr.to/base environment: PASSWORD: from_secret: pass diff --git a/Makefile b/Makefile index 915733d..04ce85c 100644 --- a/Makefile +++ b/Makefile @@ -40,6 +40,7 @@ default: all vars: @echo MAINTAINER=$(MAINTAINER) + @echo DOCKER_EXEC=$(DOCKER_EXEC) @echo IMAGE=$(IMAGE) @echo ARCH=$(ARCH) @echo REPO_ROOT=$(REPO_ROOT) diff --git a/README.md b/README.md index e43ab8d..49ed5c7 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,8 @@ No core utils are installed at all. ```makefile # Email address of maintainer MAINTAINER?==@eater.me +# Docker executable to use (default: docker, but img may be used) +DOCKER_EXEC?=docker # Name of image IMAGE?=d.xr.to/base # Arch to be used