Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Commit 4053bf2

Browse files
try to fix travis-ci script
1 parent fcf5353 commit 4053bf2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
script: true
1919
- stage: Build and Test
2020
script:
21-
- docker build -t humanconnection/api-feathers:alpha .
21+
- docker build -t humanconnection/api-feathers .
2222
- script:
2323
- yarn install --frozen-lockfile --non-interactive
2424
- yarn add codacy-coverage
@@ -28,9 +28,11 @@ jobs:
2828
after_success:
2929
- if [ $TRAVIS_BRANCH == "master" ] && [ $TRAVIS_EVENT_TYPE == "push" ]; then
3030
docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD";
31+
docker tag humanconnection/api-feathers humanconnection/api-feathers:alpha;
3132
docker push humanconnection/api-feathers:alpha;
3233
fi
3334
- if [ $TRAVIS_BRANCH == "develop" ] && [ $TRAVIS_EVENT_TYPE == "push" ]; then
3435
docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD";
36+
docker tag humanconnection/api-feathers humanconnection/api-feathers:edge;
3537
docker push humanconnection/api-feathers:edge;
3638
fi

0 commit comments

Comments
 (0)