From 775eea230f1ee01501e9ba0967d40a10a4f36c09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8A=E5=AE=98=E6=98=93=E6=B3=BD?= <15837994614@163.com> Date: Sat, 7 Aug 2021 00:45:54 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=AC12=E6=AC=A1=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/maven.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index e868f11..5887883 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -29,8 +29,9 @@ jobs: # 登陆到我们自己的 docker registry - name: Login to aliyun docker image registry run: echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login --username=shangguanyize registry.cn-hangzhou.aliyuncs.com --password-stdin - + - name: docker tag to aliyun docker image registry + run: docker tag demo_actions registry.cn-hangzhou.aliyuncs.com/yvam0910/demo_actions:0.1 # 上传 docker 镜像 - name: Push image to aliyun docker image registry - run: docker push demo_actions:0.1 + run: docker push registry.cn-hangzhou.aliyuncs.com/yvam0910/demo_actions:0.1