ci-python ohne Docker-Daemon bauen: Kaniko (devops #419) #1
@@ -7,26 +7,15 @@ on:
|
||||
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:
|
||||
kaniko-schritt:
|
||||
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
|
||||
- name: Bauen mit Kaniko als Docker-Schritt
|
||||
uses: docker://ghcr.io/osscontainertools/kaniko:debug@sha256:7ab44d0131c3051b6dea128067e258c7afb5c4815082a93b9cf6c624f2140bf0
|
||||
with:
|
||||
args: >-
|
||||
--context=dir://${{ github.workspace }}/python
|
||||
--dockerfile=${{ github.workspace }}/python/Dockerfile
|
||||
--no-push
|
||||
--verbosity=info
|
||||
Reference in new issue
Block a user