containers/.forgejo/workflows/build-image.yml
Peter Cai 7b6b76036d
Some checks failed
/ build-image (push) Failing after 28s
Test
2024-02-15 14:37:14 -05:00

29 lines
702 B
YAML

on: [push]
jobs:
build-image:
runs-on: docker
container:
image: node:18-bookworm
steps:
- name: Repository Checkout
uses: https://gitea.angry.im/actions/checkout@v3
with:
submodules: recursive
- name: Mask Secrets
run: 'echo "::add-mask::${{ secrets.FORGEJO_TOKEN }}"'
- name: Setup podman
run: |
id -a
apt-get update
apt-get install -y podman
podman login gitea.angry.im --username PeterCxy --password ${{ secrets.FORGEJO_TOKEN }}
- name: Confirm Podman works
run: podman run --rm hello-world
- name: Build & Push
run: ./build-image.sh element-web