This commit is contained in:
parent
7b6b76036d
commit
294bacdada
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue