diff --git a/.forgejo/workflows/build-image.yml b/.forgejo/workflows/build-image.yml index 064a330..aa81d0b 100644 --- a/.forgejo/workflows/build-image.yml +++ b/.forgejo/workflows/build-image.yml @@ -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