1
0
Fork 1
mirror of https://example.com synced 2024-11-23 23:16:38 +09:00

Fix deploy fails on CircleCI

This commit is contained in:
Acid Chicken (硫酸鶏) 2018-11-07 02:06:32 +09:00 committed by GitHub
parent c052028fc3
commit 8c68992594
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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