From 72bc2cf0ec03cb7d0795e851905bfcae249e5a0f Mon Sep 17 00:00:00 2001 From: Merlin-Xie Date: Mon, 20 Oct 2025 23:43:25 +0800 Subject: [PATCH] fix: ci --- .gitea/workflows/build.yml | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index a6cfe4c..ba8d3ec 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -8,23 +8,9 @@ jobs: build: runs-on: controller container: - image: harbor.merlin.xin/mirrors/gcr.io/kaniko-project/executor:debug + image: harbor.merlin.xin/mirrors/quay.io/buildah/stable:v1.36.0 steps: - name: Checkout code - run: git clone ${GITEA_INSTANCE_URL}/merlin/test.git + uses: actions/checkout@v5 - name: see ls - run: ls - - name: Build the Docker image - run: | - for df in $(find . -name Dockerfile); do - dir=$(dirname "$df") - image_name="${vars.REGISTRY_URL}/testing/merlin/$(basename $dir):${gitea.sha:0:7}" - /kaniko/executor \ - --dockerfile "$df" \ - --context "$dir" \ - --destination "$image_name" \ - --cache=true \ - --username "${secrets.HARBOR_USER_NAME}" \ - --password "${secrets.HARBOR_USER_SECRET}" - echo "✅ Successfully built and pushed $image_name" - done \ No newline at end of file + run: ls \ No newline at end of file