修改了安装docker方法12
Some checks failed
Build Push and Deploy Image / build (push) Failing after 21m9s

This commit is contained in:
bamanker
2026-01-03 22:33:39 +08:00
parent d4d6064bcd
commit cb418d8acd

View File

@@ -74,10 +74,8 @@ jobs:
run: |
echo "The app version is $APP_TAG" && echo "tag=$APP_TAG" >> $GITHUB_OUTPUT &&
echo "now workspace: ${{ github.workspace }}" &&
pwd &&
docker version &&
docker --help &&
ls
docker --help
# 为其他配置文件注入环境变量
- name: Inject envVar
@@ -119,7 +117,8 @@ jobs:
env:
TAG: ${{ steps.set_envar.outputs.tag }}
run: |
docker build Dockerfile &&
ls &&
docker build --file Dockerfile --tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAMESPACE }}/${{ env.IMAGE_NAME }}:${{ env.TAG }} &&
docker image ls
# ${{ env.REGISTRY }}/${{ env.IMAGE_NAMESPACE }}/${{ env.IMAGE_NAME }}:${{ env.TAG }} --push.
# uses: http://139.9.216.111:3000/bamanker/docker-build-push@v5