mirror of
https://gitee.com/goploy/goploy.git
synced 2024-12-01 19:57:34 +08:00
Update docker-image.yml
This commit is contained in:
parent
c31325cc65
commit
ac7ec3caac
4
.github/workflows/docker-image.yml
vendored
4
.github/workflows/docker-image.yml
vendored
@ -14,7 +14,7 @@ jobs:
|
||||
steps:
|
||||
- name: Get version
|
||||
id: get_version
|
||||
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
|
||||
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build the Docker image
|
||||
@ -24,4 +24,4 @@ jobs:
|
||||
# 使用Dockerfile构建镜像
|
||||
docker build -t zhenorzz/goploy . --file docker/Dockerfile
|
||||
# 推送镜像到镜像仓库
|
||||
docker push zhenorzz/goploy:${{ env.VERSION }}
|
||||
docker push zhenorzz/goploy:${{ steps.get_version.outputs.VERSION }}
|
||||
|
Loading…
Reference in New Issue
Block a user