mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
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 <jmulligan@redhat.com>
This commit is contained in:
parent
5e43e1fefa
commit
33a2fb1b06
@ -36,7 +36,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then
|
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
|
make push-image-rbdplugin push-image-cephfsplugin
|
||||||
|
|
||||||
set -xe
|
set -xe
|
||||||
|
Loading…
Reference in New Issue
Block a user