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