fix: v0.1.2
This commit is contained in:
parent
6da6688677
commit
139401768f
@ -17,9 +17,6 @@ jobs:
|
|||||||
- name: print operator
|
- name: print operator
|
||||||
run: whoami
|
run: whoami
|
||||||
|
|
||||||
- name: print work dir and files
|
|
||||||
run: pwd & ls -alsh .
|
|
||||||
|
|
||||||
- name: print tag name
|
- name: print tag name
|
||||||
run: echo "Tag name = ${{ gitea.ref_name }}"
|
run: echo "Tag name = ${{ gitea.ref_name }}"
|
||||||
|
|
||||||
@ -29,16 +26,12 @@ jobs:
|
|||||||
${{ secrets.DOCKER_CONFIG }}
|
${{ secrets.DOCKER_CONFIG }}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
- name: print work dir and files
|
||||||
|
run: pwd & ls -alsh .
|
||||||
|
|
||||||
- name: build by kaniko in docker
|
- name: build by kaniko in docker
|
||||||
run: |
|
run: |
|
||||||
docker version
|
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'
|
||||||
# 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'
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
if: always()
|
if: always()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user