Browse Source

第八次提交

master
洛尘曦 5 years ago
parent
commit
7b23416a24
  1. 4
      .github/workflows/maven.yml

4
.github/workflows/maven.yml

@ -24,7 +24,7 @@ jobs:
run: mvn -B package --file pom.xml run: mvn -B package --file pom.xml
# 通过 Dockerfile 构建镜像 # 通过 Dockerfile 构建镜像
- name: Build docker image - name: Build docker image
run: docker build . -t {{ image_name:image_version }}
run: docker build . -t demo_actions:v1.0
# 登陆到我们自己的 docker registry # 登陆到我们自己的 docker registry
- name: Login to aliyun docker image registry - name: Login to aliyun docker image registry
@ -32,5 +32,5 @@ jobs:
# 上传 docker 镜像 # 上传 docker 镜像
- name: Push image to aliyun docker image registry - name: Push image to aliyun docker image registry
run: docker push {{ image_name:image_version }}
run: docker push demo_actions:v1.0

Loading…
Cancel
Save