Rework usage of podman image
All checks were successful
/ build-image (push) Successful in 1m27s

This commit is contained in:
Peter Cai 2024-02-15 15:06:30 -05:00
parent 037fe95b37
commit 2319132092

View file

@ -6,14 +6,13 @@ jobs:
container:
image: quay.io/podman/stable
steps:
- name: Install packages
- name: Install additional packages
run: |
dnf -y module install nodejs:18/common
dnf -y install git
dnf -y install git nodejs
- name: Setup podman
run: |
podman login gitea.angry.im --username PeterCxy --password ${{ secrets.FORGEJO_TOKEN }}
sudo -u podman podman login gitea.angry.im --username PeterCxy --password ${{ secrets.FORGEJO_TOKEN }}
- name: Repository Checkout
uses: https://gitea.angry.im/actions/checkout@v3
@ -21,7 +20,7 @@ jobs:
submodules: recursive
- name: Confirm Podman works
run: podman run --rm hello-world
run: sudo -u podman podman run --rm hello-world
- name: Build & Push
run: ./build-image.sh element-web
run: sudo -u podman ./build-image.sh element-web