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

This commit is contained in:
loveuer 2025-05-10 11:04:45 +08:00
parent 6da6688677
commit 139401768f

View File

@ -17,9 +17,6 @@ jobs:
- name: print operator
run: whoami
- name: print work dir and files
run: pwd & ls -alsh .
- name: print tag name
run: echo "Tag name = ${{ gitea.ref_name }}"
@ -29,16 +26,12 @@ jobs:
${{ secrets.DOCKER_CONFIG }}
EOF
- name: print work dir and files
run: pwd & ls -alsh .
- name: build by kaniko in docker
run: |
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'
docker run --rm -v $(pwd):/workspace -v $(pwd)/.docker.config.json:/kaniko/.docker/config.json:ro gcr.io/kaniko-project/executor:latest '-c dir:///workspace/ -f /workspace/Dockerfile -d "gitea.loveuer.com/loveuer/build/ushare:${{ gitea.ref_name }}" --single-snapshot'
clean:
if: always()