1 Star 0 Fork 2

dafanshu/kafka-connector

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 790 Bytes
一键复制 编辑 原始数据 按行查看 历史
sudo: required
language: go
go:
- "1.9.x"
services:
- docker
addons:
apt:
packages:
- docker-ce
script:
- make build
after_success:
- if [ -z $DOCKER_NS ] ; then
export DOCKER_NS=openfaas;
fi
- if [ ! -z "$TRAVIS_TAG" ] ; then
docker tag $DOCKER_NS/kafka-connector:latest-dev $DOCKER_NS/kafka-connector:$TRAVIS_TAG;
echo $DOCKER_PASSWORD | docker login -u=$DOCKER_USERNAME --password-stdin;
docker push $DOCKER_NS/kafka-connector:$TRAVIS_TAG;
docker tag $DOCKER_NS/kafka-connector:latest-dev quay.io/$DOCKER_NS/kafka-connector:$TRAVIS_TAG;
echo $QUAY_PASSWORD | docker login -u=$QUAY_USERNAME --password-stdin quay.io;
docker push quay.io/$DOCKER_NS/kafka-connector:$TRAVIS_TAG;
fi
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yur/kafka-connector.git
git@gitee.com:yur/kafka-connector.git
yur
kafka-connector
kafka-connector
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385