another try
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user