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: container:
image: quay.io/podman/stable image: quay.io/podman/stable
steps: steps:
- name: Install packages - name: Install additional packages
run: | run: |
dnf -y module install nodejs:18/common dnf -y install git nodejs
dnf -y install git
- name: Setup podman - name: Setup podman
run: | 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 - name: Repository Checkout
uses: https://gitea.angry.im/actions/checkout@v3 uses: https://gitea.angry.im/actions/checkout@v3
@ -21,7 +20,7 @@ jobs:
submodules: recursive submodules: recursive
- name: Confirm Podman works - name: Confirm Podman works
run: podman run --rm hello-world run: sudo -u podman podman run --rm hello-world
- name: Build & Push - name: Build & Push
run: ./build-image.sh element-web run: sudo -u podman ./build-image.sh element-web