Fix docker build for reusessl tag
This commit is contained in:
parent
11a150c1db
commit
a6452a0950
1 changed files with 3 additions and 3 deletions
|
@ -19,8 +19,8 @@ install:
|
|||
--tag ${TRAVIS_REPO_SLUG}:${TRAVIS_COMMIT} .
|
||||
- docker build
|
||||
--no-cache
|
||||
--tag ${TRAVIS_REPO_SLUG}:reusessl
|
||||
-f Dockerfile_reusessl
|
||||
--tag ${TRAVIS_REPO_SLUG}/${TRAVIS_COMMIT}:reusessl
|
||||
-f Dockerfile_reusessl .
|
||||
script:
|
||||
- DOCKERCONTAINER=$(docker run -d -p 127.0.0.1:${CLIENT_PORT}:21 -e ADDRESS=ftp.example.com ${TRAVIS_REPO_SLUG}:${TRAVIS_COMMIT})
|
||||
- sleep 5
|
||||
|
@ -30,7 +30,7 @@ script:
|
|||
- docker stop ${DOCKERCONTAINER} && docker rm -fv ${DOCKERCONTAINER}
|
||||
after_success:
|
||||
- docker tag ${TRAVIS_REPO_SLUG}:${TRAVIS_COMMIT} aminvakil/alpine-ftp-server-tls
|
||||
- docker tag ${TRAVIS_REPO_SLUG}:reusessl aminvakil/alpine-ftp-server-tls:reusessl
|
||||
- docker tag ${TRAVIS_REPO_SLUG}:${TRAVIS_COMMIT}:reusessl aminvakil/alpine-ftp-server-tls:reusessl
|
||||
- echo "$DOCKER_PASSWORD" | docker login -u aminvakil --password-stdin
|
||||
- docker push aminvakil/alpine-ftp-server-tls
|
||||
- docker push aminvakil/alpine-ftp-server-tls:reusessl
|
||||
|
|
Loading…
Reference in a new issue