This commit is contained in:
parent
b7b7a8e31f
commit
341124edc1
@ -15,12 +15,12 @@ jobs:
|
||||
- name: 检出源码
|
||||
uses: https://git.des8.com/docker/checkout@v4
|
||||
|
||||
- name: 编译Docker镜像
|
||||
run: docker build -f Dockerfile --no-cache -t $MYIMAGE .
|
||||
|
||||
- name: 打Tag
|
||||
run: |
|
||||
docker tag $MYIMAGE $MYREGISTRY/$MYIMAGE
|
||||
- name: 编译Docker镜像
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
push: false
|
||||
tags: $MYREGISTRY/$MYIMAGE
|
||||
|
||||
- name: 运行
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user