Fixup subuid / subgid and fuse mount
Some checks failed
/ build-image (push) Failing after 28s

This commit is contained in:
Peter Cai 2024-02-15 14:40:58 -05:00
parent 7b6b76036d
commit 294bacdada

View file

@ -5,22 +5,25 @@ jobs:
runs-on: docker
container:
image: node:18-bookworm
volumes:
- /dev/fuse:/dev/fuse
steps:
- name: Repository Checkout
uses: https://gitea.angry.im/actions/checkout@v3
with:
submodules: recursive
- name: Mask Secrets
run: 'echo "::add-mask::${{ secrets.FORGEJO_TOKEN }}"'
- name: Setup podman
run: |
id -a
apt-get update
apt-get install -y podman
podman login gitea.angry.im --username PeterCxy --password ${{ secrets.FORGEJO_TOKEN }}
- name: Fixup subuid/subgid
run: |
echo 'root:1:999' > /etc/subuid
echo 'root:1:999' > /etc/subgid
- name: Confirm Podman works
run: podman run --rm hello-world