.gitea/workflows/buildah_test.yml aktualisiert
Buildah Test / test-build (push) Failing after 2s

another try
This commit is contained in:
2026-06-12 17:07:06 +00:00
parent feaa47c658
commit 76912196fd
+4 -4
View File
@@ -1,11 +1,11 @@
name: Buildah Rootless Test name: Buildah Test
on: [push] on: [push]
jobs: jobs:
test-build: test-build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Image mit Buildah über Stdin bauen - name: Buildah Test
run: | run: |
docker run -i --rm \ docker run -i --rm \
--cap-add=SYS_ADMIN \ --cap-add=SYS_ADMIN \
@@ -13,9 +13,9 @@ jobs:
--security-opt label=disable \ --security-opt label=disable \
quay.io/buildah/stable:latest \ quay.io/buildah/stable:latest \
buildah --storage-driver=vfs --isolation=chroot bud \ buildah --storage-driver=vfs --isolation=chroot bud \
-t lokales-test-image:latest \ -t test-image:latest \
-f - . <<-EOF -f - . <<-EOF
FROM alpine:latest FROM alpine:latest
RUN echo 'Hello from rootless Buildah via Stdin!' > /hello.txt RUN echo 'Success!' > /hello.txt
CMD cat /hello.txt CMD cat /hello.txt
EOF EOF