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