Update config.yml (#3195)

This commit is contained in:
Acid Chicken (硫酸鶏) 2018-11-10 10:42:12 +09:00 committed by syuilo
parent d62c67208f
commit ad0ea2fab2
1 changed files with 1 additions and 2 deletions

View File

@ -117,8 +117,7 @@ jobs:
command: | command: |
if [ "$DOCKERHUB_USERNAME$DOCKERHUB_PASSWORD" ] if [ "$DOCKERHUB_USERNAME$DOCKERHUB_PASSWORD" ]
then then
curl -LSs 'https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64' > jq apk update && apk install jq
chmod +x jq
docker tag misskey/misskey misskey/misskey:$(cat package.json | jq -r .version) docker tag misskey/misskey misskey/misskey:$(cat package.json | jq -r .version)
docker login -u $DOCKERHUB_USERNAME -p $DOCKERHUB_PASSWORD docker login -u $DOCKERHUB_USERNAME -p $DOCKERHUB_PASSWORD
docker push misskey/misskey docker push misskey/misskey