mirror of https://github.com/ceph/go-ceph
travis: pass CEPH_VERSION as argument to 'docker build'
Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
parent
86a3a66849
commit
58b4237aa9
|
@ -16,8 +16,7 @@ matrix:
|
||||||
- env: CEPH_VERSION=nautilus
|
- env: CEPH_VERSION=nautilus
|
||||||
|
|
||||||
before_install: |
|
before_install: |
|
||||||
CEPH_REPO_URL="https://download.ceph.com/debian-${CEPH_VERSION}/"
|
docker build --build-arg CEPH_VERSION="${CEPH_VERSION}" -t ceph-golang-ci .
|
||||||
docker build --build-arg CEPH_REPO_URL="${CEPH_REPO_URL}" -t ceph-golang-ci .
|
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- go get github.com/mgechev/revive
|
- go get github.com/mgechev/revive
|
||||||
|
|
Loading…
Reference in New Issue