fix: v0.1.2
All checks were successful
/ build and run u-api (push) Successful in 2s
/ clean (push) Successful in 1s

This commit is contained in:
loveuer 2025-05-10 10:51:13 +08:00
parent 6e5bf040dc
commit 6da6688677

View File

@ -31,12 +31,14 @@ jobs:
- name: build by kaniko in docker - name: build by kaniko in docker
run: | run: |
docker run --rm -v $(pwd):/workspace \ docker version
-v $(pwd)/.docker.config.json:/kaniko/.docker/config.json:ro \ # run: |
gcr.io/kaniko-project/executor:latest \ # docker run --rm -v $(pwd):/workspace \
'-f /workspace/Dockerfile' \ # -v $(pwd)/.docker.config.json:/kaniko/.docker/config.json:ro \
'-d "gitea.loveuer.com/loveuer/build/ushare:${{ gitea.ref_name }}"' \ # gcr.io/kaniko-project/executor:latest \
'--single-snapshot' # '-f /workspace/Dockerfile' \
# '-d "gitea.loveuer.com/loveuer/build/ushare:${{ gitea.ref_name }}"' \
# '--single-snapshot'
clean: clean:
if: always() if: always()