fix: v0.1.2
Some checks failed
/ build and run u-api (push) Failing after 2s
/ clean (push) Successful in 0s

This commit is contained in:
loveuer 2025-05-10 11:13:24 +08:00
parent 5c06d03f04
commit 58564f9d5e

View File

@ -31,7 +31,13 @@ jobs:
- name: build by kaniko in docker - name: build by kaniko in docker
run: | run: |
docker run --rm -v $(pwd):/workspace -v $(pwd)/.docker.config.json:/kaniko/.docker/config.json:ro gcr.io/kaniko-project/executor:latest 'executor --context dir:///workspace/ --dockerfile /workspace/Dockerfile --destination "gitea.loveuer.com/loveuer/build/ushare:${{ gitea.ref_name }}" --single-snapshot' docker run --rm -v $(pwd):/workspace \
-v $(pwd)/.docker.config.json:/kaniko/.docker/config.json:ro \
gcr.io/kaniko-project/executor:latest \
--dockerfile=/workspace/Dockerfile \
--context=/workspace \
--destination=gitea.loveuer.com/loveuer/build/u-api:${{ gitea.ref_name }} \
--single-snapshot
clean: clean:
if: always() if: always()