Update .forgejo/workflows/build.yaml
Some checks failed
/ build (push) Failing after 25s

This commit is contained in:
sqozz 2024-04-16 23:57:48 +02:00
parent 3ee9dd7df2
commit 98cfdbc9d1

View file

@ -7,7 +7,8 @@ jobs:
runs-on: docker runs-on: docker
steps: steps:
- run: apk add buildah wget - run: apk add buildah wget
- run: buildah login --username "{{ secrets.username }}" --password "{{ secrets.password }}" git.geekify.de || true - run: buildah login --username "{{ secrets.username }}" --password "{{ secrets.password }}" git.geekify.de
- run: wget https://git.geekify.de/Containers/alpine-bash/raw/branch/main/Dockerfile - run: wget https://git.geekify.de/Containers/alpine-bash/raw/branch/main/Dockerfile
- run: buildah build --isolation=chroot | tee container_id - run: buildah build --isolation=chroot | tee container_id
- run: export CONTAINER_ID=$(tail -n 1 container_id) - run: export CONTAINER_ID=$(tail -n 1 container_id)
- run: buildah push $CONTAINER_ID git.geekify.de/containers/alpine-bash