From 62b680cadd79a4f6ecd96472fbc530f0e9a9dcf2 Mon Sep 17 00:00:00 2001 From: coord_e Date: Sat, 19 Dec 2020 09:53:12 +0900 Subject: [PATCH] =?UTF-8?q?CI=E3=81=A7Docker=E3=82=A4=E3=83=A1=E3=83=BC?= =?UTF-8?q?=E3=82=B8=E3=81=AEpush=E3=81=8C=E6=AD=A3=E3=81=97=E3=81=8F?= =?UTF-8?q?=E8=A1=8C=E3=82=8F=E3=82=8C=E3=82=8B=E3=82=88=E3=81=86=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=20(#6990)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix docker command on CI to push the image tagged with the version * fix docker cli version on CI for future-proofing --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f021b46b83..964bb37a34 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,7 +4,7 @@ executors: docker: working_directory: /tmp/workspace docker: - - image: docker:latest + - image: docker:12.10.1 jobs: docker: @@ -32,7 +32,7 @@ jobs: apk update && apk add jq docker tag misskey/misskey misskey/misskey:$(cat package.json | jq -r .version) docker login -u $DOCKERHUB_USERNAME -p $DOCKERHUB_PASSWORD - docker push misskey/misskey + docker push -a misskey/misskey else echo -e '\033[0;33mAborted deploying to Docker Hub\033[0;39m' fi