fix: v0.1.2
This commit is contained in:
parent
6a99e9ba6c
commit
9eed7ecaca
@ -29,14 +29,11 @@ jobs:
|
|||||||
- name: print work dir and files
|
- name: print work dir and files
|
||||||
run: pwd & ls -alsh .
|
run: pwd & ls -alsh .
|
||||||
|
|
||||||
- name: build image
|
- name: build image by docker build
|
||||||
uses: https://github.com/addnab/docker-run-action@v3
|
run: docker build -t gitea.loveuer.com/loveuer/build/u-api:${{ gitea.ref_name }} .
|
||||||
with:
|
|
||||||
registry: gcr.io
|
- name: push image to repository
|
||||||
image: alpine:latest
|
run: docker images
|
||||||
options: -v ${{ gitea.workspace }}:/workspace -v ${{ gitea.workspace }}/.docker.config.json:/kaniko/.docker/config.json:ro
|
|
||||||
run: |
|
|
||||||
ls -alsh /workspace
|
|
||||||
|
|
||||||
# - name: build by kaniko in docker
|
# - name: build by kaniko in docker
|
||||||
# run: |
|
# run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user