fix: v0.1.2
Some checks failed
/ build ushare (push) Failing after 14s
/ clean (push) Successful in 0s

This commit is contained in:
loveuer 2025-05-10 11:51:28 +08:00
parent 0dd72d0f53
commit 9d96ea1f70

View File

@ -5,7 +5,7 @@ on:
- 'v*' - 'v*'
jobs: jobs:
build and run u-api: build ushare:
runs-on: tencent-sg runs-on: tencent-sg
steps: steps:
- name: prepare enviroment - name: prepare enviroment
@ -29,12 +29,21 @@ jobs:
- name: print work dir and files - name: print work dir and files
run: pwd & ls -alsh . run: pwd & ls -alsh .
- name: build by kaniko in docker - name: build image
run: | uses: https://github.com/addnab/docker-run-action@v3
docker run --rm -v $(pwd):/workspace \ with:
-v $(pwd)/.docker.config.json:/kaniko/.docker/config.json:ro \ registry: gcr.io
alpine:latest \ image: alpine:latest
options: -v $(pwd):/workspace -v $(pwd)/.docker.config.json:/kaniko/.docker/config.json:ro
run: |
ls -alsh /workspace ls -alsh /workspace
# - name: build by kaniko in docker
# run: |
# docker run --rm -v $(pwd):/workspace \
# -v $(pwd)/.docker.config.json:/kaniko/.docker/config.json:ro \
# alpine:latest \
# ls -alsh /workspace
# gcr.io/kaniko-project/executor:latest \ # gcr.io/kaniko-project/executor:latest \
# --dockerfile=/workspace/Dockerfile \ # --dockerfile=/workspace/Dockerfile \
# --context=/workspace \ # --context=/workspace \