ci: probe a whole kaniko build (throw-away branch)
All checks were successful
probe / kaniko-build (push) Successful in 3m51s
All checks were successful
probe / kaniko-build (push) Successful in 3m51s
This commit is contained in:
parent
c4c934c0d2
commit
b9f1f632cb
1 changed files with 7 additions and 6 deletions
|
|
@ -3,14 +3,15 @@ on:
|
|||
push:
|
||||
branches: [ci/probe]
|
||||
jobs:
|
||||
kaniko:
|
||||
kaniko-build:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: gcr.io/kaniko-project/executor:v1.23.2-debug
|
||||
steps:
|
||||
- name: Kaniko starts, and can read the repository by itself
|
||||
- name: Kaniko builds the whole image from the repository, without pushing it
|
||||
run: |
|
||||
/kaniko/executor version
|
||||
echo "can reach the forge: $(wget -q -O /dev/null --spider https://git.kmalloc.org/squid/sonda && echo yes || echo no)"
|
||||
echo "git clone context test:"
|
||||
/kaniko/executor --no-push --dockerfile Dockerfile --context git://git.kmalloc.org/squid/sonda.git#refs/heads/main --target web --tar-path /tmp/web.tar --verbosity info 2>&1 | tail -5
|
||||
set -e
|
||||
/kaniko/executor --no-push --dockerfile Dockerfile \
|
||||
--context git://git.kmalloc.org/squid/sonda.git#refs/heads/main \
|
||||
--tar-path /tmp/sonda.tar --verbosity info
|
||||
ls -la /tmp/sonda.tar
|
||||
|
|
|
|||
Loading…
Reference in a new issue