ci-python ohne Docker-Daemon bauen: Kaniko (devops #419) #1
@@ -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