travis: pass CEPH_VERSION as argument to 'docker build'

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2020-01-30 17:49:34 +01:00 committed by John Mulligan
parent 86a3a66849
commit 58b4237aa9

View File

@ -16,8 +16,7 @@ matrix:
- env: CEPH_VERSION=nautilus
before_install: |
CEPH_REPO_URL="https://download.ceph.com/debian-${CEPH_VERSION}/"
docker build --build-arg CEPH_REPO_URL="${CEPH_REPO_URL}" -t ceph-golang-ci .
docker build --build-arg CEPH_VERSION="${CEPH_VERSION}" -t ceph-golang-ci .
before_script:
- go get github.com/mgechev/revive