From 9eed7ecacaa8f154714c1f37731f59c790e8b148 Mon Sep 17 00:00:00 2001 From: loveuer Date: Sun, 11 May 2025 10:10:57 +0800 Subject: [PATCH] fix: v0.1.2 --- .gitea/workflows/build.yaml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index a2ae1a0..eb8314f 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -29,14 +29,11 @@ jobs: - name: print work dir and files run: pwd & ls -alsh . - - name: build image - uses: https://github.com/addnab/docker-run-action@v3 - with: - registry: gcr.io - image: alpine:latest - options: -v ${{ gitea.workspace }}:/workspace -v ${{ gitea.workspace }}/.docker.config.json:/kaniko/.docker/config.json:ro - run: | - ls -alsh /workspace + - name: build image by docker build + run: docker build -t gitea.loveuer.com/loveuer/build/u-api:${{ gitea.ref_name }} . + + - name: push image to repository + run: docker images # - name: build by kaniko in docker # run: |