ci-python ohne Docker-Daemon bauen: Kaniko (devops #419) #1

Merged
sko merged 4 commits from probe/419-ohne-daemon into main 2026-10-20 09:31:54 +02:00
Showing only changes of commit d3cd0b7263 - Show all commits
+9 -20
View File
@@ -7,26 +7,15 @@ on:
branches: [probe/419-ohne-daemon] branches: [probe/419-ohne-daemon]
jobs: jobs:
kaniko: kaniko-schritt:
runs-on: inmedias-zone
container:
image: gcr.io/kaniko-project/executor:v1.24.0-debug
steps:
- name: Bauen mit Kaniko
shell: sh
run: |
/kaniko/executor \
--context "git://gitea.inmedias.it/sko/ci-images.git#refs/heads/probe/419-ohne-daemon" \
--context-sub-path python \
--dockerfile Dockerfile \
--no-push
buildah:
runs-on: inmedias-zone runs-on: inmedias-zone
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Bauen mit Buildah - name: Bauen mit Kaniko als Docker-Schritt
run: | uses: docker://ghcr.io/osscontainertools/kaniko:debug@sha256:7ab44d0131c3051b6dea128067e258c7afb5c4815082a93b9cf6c624f2140bf0
id; grep -E 'Cap(Eff|Bnd)' /proc/self/status with:
apt-get update -qq && apt-get install -y -qq buildah >/dev/null args: >-
buildah --storage-driver vfs build --isolation chroot -t probe python --context=dir://${{ github.workspace }}/python
--dockerfile=${{ github.workspace }}/python/Dockerfile
--no-push
--verbosity=info