Skip to content

Commit 06a5631

Browse files
committed
fixing travis push
1 parent ccab8f8 commit 06a5631

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

.travis.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,13 @@
1-
21
sudo: required
3-
42
services:
53
- docker
6-
74
language: go
8-
95
env:
106
global:
117
- PLUGIN_NAME_ROOTFS=docker-volume-linode:rootfs-${TRAVIS_BUILD_NUMBER}
128
- PLUGIN_NAME=docker-volume-linode:${TRAVIS_BRANCH}.${TRAVIS_BUILD_NUMBER}
13-
149
before_install:
1510
- go get -u github.com/golang/dep/cmd/dep
16-
1711
script:
1812
- dep ensure
1913
- docker build --no-cache -q -t ${PLUGIN_NAME_ROOTFS} .
@@ -24,10 +18,8 @@ script:
2418
- docker rm -vf tmp
2519
- docker plugin rm -f ${PLUGIN_NAME} || true
2620
- docker plugin create ${PLUGIN_NAME} ./plugin
27-
2821
deploy:
2922
provider: script
3023
script: bash docker_push
3124
on:
3225
tags: true
33-

docker_push

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/sh
22

3+
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
34
docker plugin push ${PLUGIN_NAME}
45

0 commit comments

Comments
 (0)