fix: v0.1.2
All checks were successful
/ build ushare (push) Successful in 1m13s
/ clean (push) Successful in 0s

This commit is contained in:
loveuer 2025-05-11 10:10:57 +08:00
parent 6a99e9ba6c
commit 9eed7ecaca

View File

@ -29,14 +29,11 @@ jobs:
- name: print work dir and files - name: print work dir and files
run: pwd & ls -alsh . run: pwd & ls -alsh .
- name: build image - name: build image by docker build
uses: https://github.com/addnab/docker-run-action@v3 run: docker build -t gitea.loveuer.com/loveuer/build/u-api:${{ gitea.ref_name }} .
with:
registry: gcr.io - name: push image to repository
image: alpine:latest run: docker images
options: -v ${{ gitea.workspace }}:/workspace -v ${{ gitea.workspace }}/.docker.config.json:/kaniko/.docker/config.json:ro
run: |
ls -alsh /workspace
# - name: build by kaniko in docker # - name: build by kaniko in docker
# run: | # run: |