fix: v0.1.2
This commit is contained in:
parent
0dd72d0f53
commit
9d96ea1f70
@ -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
|
||||||
|
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: |
|
run: |
|
||||||
docker run --rm -v $(pwd):/workspace \
|
|
||||||
-v $(pwd)/.docker.config.json:/kaniko/.docker/config.json:ro \
|
|
||||||
alpine:latest \
|
|
||||||
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 \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user