change dockerhub repo

This commit is contained in:
jeff
2019-01-21 10:47:34 +08:00
parent 7e72365d86
commit 9c23a68128
2 changed files with 2 additions and 9 deletions

View File

@@ -1,5 +1,3 @@
sudo: required
services:
- docker
@@ -7,19 +5,14 @@ language: go
go:
- 1.10
- tip
go_import_path: kubesphere.io/kubesphere
before_install:
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt-get update
- sudo apt-get -y install docker-ce
- dep ensure -v
before_script:
- dep ensure -v
- docker --version
script:

View File

@@ -1,4 +1,4 @@
#!/bin/bash
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
docker push kubesphere/ks-apiserver:latest
docker push kubespheredev/ks-apiserver:latest