diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index c03b18b..5f36cab 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -33,7 +33,11 @@ jobs: run: | 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 --destination "gitea.loveuer.com/loveuer/build/ushare:${{ gitea.ref_name }}" --context dir:///workspace/ --single-snapshot + gcr.io/kaniko-project/executor:latest \ + '-f /workspace/Dockerfile' \ + '-d "gitea.loveuer.com/loveuer/build/ushare:${{ gitea.ref_name }}"' \ + '-c dir:///workspace/' \ + '--single-snapshot' clean: if: always()