Compare commits

...

3 commits

Author SHA1 Message Date
Peter Cai 2319132092 Rework usage of podman image
All checks were successful
/ build-image (push) Successful in 1m27s
2024-02-15 15:06:30 -05:00
Peter Cai 037fe95b37 Reapply "Use official podman images"
This reverts commit 06886b4301.
2024-02-15 15:05:48 -05:00
Peter Cai 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:
runs-on: docker
container:
image: debian:trixie
volumes:
- /var/lib/containers
image: quay.io/podman/stable
steps:
- name: Install packages
- name: Install additional packages
run: |
apt-get -y update
apt-get -y install git nodejs podman
- name: Fixup subuid/subgid
run: |
echo 'root:1:999' > /etc/subuid
echo 'root:1:999' > /etc/subgid
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
@ -28,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