From b75a4922811afe710a35f7e983bca3ad4e3378f5 Mon Sep 17 00:00:00 2001 From: PikuZheng Date: Thu, 25 Jul 2024 17:40:21 +0800 Subject: [PATCH] Update deploy-docker-ccr.yml --- .github/workflows/deploy-docker-ccr.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-docker-ccr.yml b/.github/workflows/deploy-docker-ccr.yml index 9e50ba88e0..f77d3e833c 100644 --- a/.github/workflows/deploy-docker-ccr.yml +++ b/.github/workflows/deploy-docker-ccr.yml @@ -36,7 +36,7 @@ jobs: sed -i "s/VER=.*/VER=${{steps.get-version.outputs.CUR_VERSION}}/" package/build-pkg.sh #构建image docker login ccr.ccs.tencentyun.com --username=${{ secrets.CCR_USERNAME }} --password='${{ secrets.CCR_PASSWORD }}' - docker buildx build --no-cache --platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 --push -t pikuzheng/smartdns:latest -t pikuzheng/smartdns:${{steps.get-version.outputs.CUR_VERSION}} -f Dockerfile.alpine . + docker buildx build --no-cache --platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 --push -t ccr.ccs.tencentyun.com/pikuzheng/smartdns:latest -t pikuzheng/smartdns:${{steps.get-version.outputs.CUR_VERSION}} -f Dockerfile.alpine . #增加 check-edns分支 cat >> Makefile.patch << EOF --- Makefile @@ -51,5 +51,5 @@ jobs: override CXXFLAGS +=-Iinclude EOF patch -p0 ./src/Makefile Makefile.patch - docker buildx build --no-cache --platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 --push -t pikuzheng/smartdns:check-edns -f Dockerfile.alpine . + docker buildx build --no-cache --platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 --push -t ccr.ccs.tencentyun.com/pikuzheng/smartdns:check-edns -f Dockerfile.alpine .