16 lines
651 B
YAML
16 lines
651 B
YAML
name: probe
|
|
on:
|
|
push:
|
|
branches: [ci/probe]
|
|
jobs:
|
|
kaniko:
|
|
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
|
|
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
|