From 7b23416a2416ea7db42aa18754949edd8fd998c3 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:20:40 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=AC=E5=85=AB=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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 2948c66..edebd93 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -24,7 +24,7 @@ jobs: run: mvn -B package --file pom.xml # 通过 Dockerfile 构建镜像 - name: Build docker image - run: docker build . -t {{ image_name:image_version }} + run: docker build . -t demo_actions:v1.0 # 登陆到我们自己的 docker registry - name: Login to aliyun docker image registry @@ -32,5 +32,5 @@ jobs: # 上传 docker 镜像 - name: Push image to aliyun docker image registry - run: docker push {{ image_name:image_version }} + run: docker push demo_actions:v1.0