containers/.forgejo/workflows/build-image.yml
Peter Cai 87ee8b7eba
Some checks failed
/ build-image (push) Failing after 39s
Switch to Debian Trixie
2024-02-15 14:57:13 -05:00

35 lines
832 B
YAML

on: [push]
jobs:
build-image:
runs-on: docker
container:
image: debian:trixie
volumes:
- /var/lib/containers
steps:
- name: Install 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
- name: Setup podman
run: |
podman login gitea.angry.im --username PeterCxy --password ${{ secrets.FORGEJO_TOKEN }}
- name: Repository Checkout
uses: https://gitea.angry.im/actions/checkout@v3
with:
submodules: recursive
- name: Confirm Podman works
run: podman run --rm hello-world
- name: Build & Push
run: ./build-image.sh element-web