mirror of
https://gitee.com/goploy/goploy.git
synced 2024-11-29 18:57:59 +08:00
Update docker-image.yml
This commit is contained in:
parent
6d295af62f
commit
62c16a7b3f
4
.github/workflows/docker-image.yml
vendored
4
.github/workflows/docker-image.yml
vendored
@ -22,6 +22,6 @@ jobs:
|
||||
docker version
|
||||
docker login --username=${{ secrets.DOCKER_USERNAME }} --password=${{ secrets.DOCKER_PASSWORD }}
|
||||
# 使用Dockerfile构建镜像
|
||||
docker build -t zhenorzz/goploy:${{ steps.get_version.outputs.VERSION }} . --file docker/Dockerfile
|
||||
docker build -t zhenorzz/goploy:$(git describe --tags --abbrev=0) . --file docker/Dockerfile
|
||||
# 推送镜像到镜像仓库
|
||||
docker push zhenorzz/goploy:${{ steps.get_version.outputs.VERSION }}
|
||||
docker push zhenorzz/goploy:$(git describe --tags --abbrev=0)
|
||||
|
Loading…
Reference in New Issue
Block a user