This commit is contained in:
parent
7b6b76036d
commit
294bacdada
|
@ -5,22 +5,25 @@ jobs:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: node:18-bookworm
|
image: node:18-bookworm
|
||||||
|
volumes:
|
||||||
|
- /dev/fuse:/dev/fuse
|
||||||
steps:
|
steps:
|
||||||
- name: Repository Checkout
|
- name: Repository Checkout
|
||||||
uses: https://gitea.angry.im/actions/checkout@v3
|
uses: https://gitea.angry.im/actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Mask Secrets
|
|
||||||
run: 'echo "::add-mask::${{ secrets.FORGEJO_TOKEN }}"'
|
|
||||||
|
|
||||||
- name: Setup podman
|
- name: Setup podman
|
||||||
run: |
|
run: |
|
||||||
id -a
|
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y podman
|
apt-get install -y podman
|
||||||
podman login gitea.angry.im --username PeterCxy --password ${{ secrets.FORGEJO_TOKEN }}
|
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
|
- name: Confirm Podman works
|
||||||
run: podman run --rm hello-world
|
run: podman run --rm hello-world
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue