Compare commits

...

3 commits

Author SHA1 Message Date
2319132092 Rework usage of podman image
All checks were successful
/ build-image (push) Successful in 1m27s
2024-02-15 15:06:30 -05:00
037fe95b37 Reapply "Use official podman images"
This reverts commit 06886b4301.
2024-02-15 15:05:48 -05:00
bba6274869 Revert "Switch to Debian Trixie"
This reverts commit 87ee8b7eba.
2024-02-15 15:05:45 -05:00

View file

@ -4,23 +4,15 @@ jobs:
build-image: build-image:
runs-on: docker runs-on: docker
container: container:
image: debian:trixie image: quay.io/podman/stable
volumes:
- /var/lib/containers
steps: steps:
- name: Install packages - name: Install additional packages
run: | run: |
apt-get -y update dnf -y install git nodejs
apt-get -y install git nodejs podman
- name: Fixup subuid/subgid
run: |
echo 'root:1:999' > /etc/subuid
echo 'root:1:999' > /etc/subgid
- 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
@ -28,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