Probe devops #419: Image ohne Docker-Daemon bauen (Kaniko, Buildah)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5664fd3fc1
commit
7f4494e1cb
1 file changed
+32
@@ -0,0 +1,32 @@
|
||||
name: Probe 419 - Image ohne Docker-Daemon
|
||||
|
||||
# Nur Probe fuer devops #419, wird vor dem Merge wieder entfernt. Baut, pusht nicht.
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [probe/419-ohne-daemon]
|
||||
|
||||
jobs:
|
||||
kaniko:
|
||||
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
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Bauen mit Buildah
|
||||
run: |
|
||||
id; grep -E 'Cap(Eff|Bnd)' /proc/self/status
|
||||
apt-get update -qq && apt-get install -y -qq buildah >/dev/null
|
||||
buildah --storage-driver vfs build --isolation chroot -t probe python
|
||||
Reference in new issue
Block a user