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
run: |
docker run --rm -v $(pwd):/workspace \
-v $(pwd)/.docker.config.json:/kaniko/.docker/config.json:ro \
gcr.io/kaniko-project/executor:latest \
'-f /workspace/Dockerfile' \
'-d "gitea.loveuer.com/loveuer/build/ushare:${{ gitea.ref_name }}"' \
'--single-snapshot'
docker version
# run: |
# docker run --rm -v $(pwd):/workspace \
# -v $(pwd)/.docker.config.json:/kaniko/.docker/config.json:ro \
# gcr.io/kaniko-project/executor:latest \
# '-f /workspace/Dockerfile' \
# '-d "gitea.loveuer.com/loveuer/build/ushare:${{ gitea.ref_name }}"' \
# '--single-snapshot'
clean:
if: always()