containers/.forgejo/workflows/build-image.yml
Peter Cai 2319132092
All checks were successful
/ build-image (push) Successful in 1m27s
Rework usage of podman image
2024-02-15 15:06:30 -05:00

27 lines
678 B
YAML

on: [push]
jobs:
build-image:
runs-on: docker
container:
image: quay.io/podman/stable
steps:
- name: Install additional packages
run: |
dnf -y install git nodejs
- name: Setup podman
run: |
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
with:
submodules: recursive
- name: Confirm Podman works
run: sudo -u podman podman run --rm hello-world
- name: Build & Push
run: sudo -u podman ./build-image.sh element-web