Compare commits

...

2 Commits

Author SHA1 Message Date
bamanker
af390af277 修改了安装docker方法7
Some checks failed
Build Push and Deploy Image / build (push) Failing after 35m12s
2026-01-01 10:39:29 +08:00
bamanker
3e55783c5f 修改了安装docker方法6
Some checks failed
Build Push and Deploy Image / build (push) Failing after 22m22s
2026-01-01 09:51:58 +08:00

View File

@@ -75,7 +75,8 @@ jobs:
echo "The app version is $APP_TAG" && echo "tag=$APP_TAG" >> $GITHUB_OUTPUT &&
echo "now workspace: ${{ github.workspace }}" &&
pwd &&
docker version
docker version &&
docker --help
# 为其他配置文件注入环境变量
- name: Inject envVar
@@ -117,7 +118,7 @@ jobs:
env:
TAG: ${{ steps.set_envar.outputs.tag }}
run: |
docker buildx build --t ${{ env.REGISTRY }}/${{ env.IMAGE_NAMESPACE }}/${{ env.IMAGE_NAME }}:${{ env.TAG }} --push.
docker buildx build --tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAMESPACE }}/${{ env.IMAGE_NAME }}:${{ env.TAG }} --push.
# with:
# context: .
## platforms: linux/amd64