Fix deploy fails on CircleCI

This commit is contained in:
Acid Chicken (硫酸鶏) 2018-11-07 02:06:32 +09:00 committed by GitHub
parent 06d3c97675
commit 3890a455e6

View file

@ -102,7 +102,7 @@ jobs:
- run:
name: Build
command: |
docker build . | tee docker.log
docker build -t misskey/misskey .
- when:
condition: <<parameters.with_deploy>>
steps:
@ -111,8 +111,6 @@ jobs:
command: |
if [ "$DOCKERHUB_USERNAME$DOCKERHUB_PASSWORD" ]
then
tail -n 1 docker.log | read __Successfully __built tag
docker tag $tag misskey/misskey
docker login -u $DOCKERHUB_USERNAME -p $DOCKERHUB_PASSWORD
docker push misskey/misskey
else