From 33a2fb1b0675cfb482d7e7f7781481d30a549d87 Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Tue, 19 Mar 2019 13:30:47 -0400 Subject: [PATCH] deploy.sh: use a variable to choose "docker" command This change allows the use of alternatives to or wrappers around the normal docker command when running the deploy.sh script. Example: CONTAINER_CMD=podman ./deploy.sh Signed-off-by: John Mulligan --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index dff25413b..1cb218d15 100755 --- a/deploy.sh +++ b/deploy.sh @@ -36,7 +36,7 @@ else fi if [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then - docker login -u "${QUAY_IO_USERNAME}" -p "${QUAY_IO_PASSWORD}" quay.io + "${CONTAINER_CMD:-docker}" login -u "${QUAY_IO_USERNAME}" -p "${QUAY_IO_PASSWORD}" quay.io make push-image-rbdplugin push-image-cephfsplugin set -xe