# On every push to main that touches them: build nugitea's image (the# Containerfile: elixir_nugitea, the server, and rust_nugitea/web, the Nuxt# frontend), push it to the forge's registry, and open a petersweb-infra PR# that pins it (quine-global/site-image). Merging the PR deploys it to# nugitea.in.quineglobal.com (petersweb-infra, nixos/arion-nugitea), where# it runs as two containers. One image, so the frontend is never deployed# against a server from another commit: with an image each, each had its# own PR, and merging one alone left the web UI calling GraphQL fields the# running server didn't have (2026-11-12).## Runs on runner-arm64-linux (host mode, podman), arm64 like the forge VM# nugitea runs on. The forge VM's own ubuntu-latest runner doesn't take this# org's jobs.## Secrets: REGISTRY_USERNAME and REGISTRY_PASSWORD (package write), or the# org's REGISTRY_TOKEN (as quine-linux's iso.yml uses it); INFRA_TOKEN (push# a branch to Cold-Air-Networks/petersweb-infra and open a PR there).name: imageson:push:branches: [main]paths:- 'elixir_nugitea/**'- 'rust_nugitea/web/**'- 'Containerfile'- '.dockerignore'- '.forgejo/workflows/images.yml'workflow_dispatch:jobs:image:runs-on: runner-arm64-linuxsteps:- uses: https://forge.in.quineglobal.com/quine-global/mirror-actions-checkout@v4- uses: https://forge.in.quineglobal.com/quine-global/site-image@v1with:image: forge.in.quineglobal.com/quine-global/nugiteacontext: .containerfile: Containerfileinfra-file: nixos/arion-nugitea/arion-compose.nixname: nugiteaplatform: linux/arm64registry-username: ${{ secrets.REGISTRY_USERNAME || vars.REGISTRY_USER || github.actor }}registry-password: ${{ secrets.REGISTRY_PASSWORD || secrets.REGISTRY_TOKEN }}infra-token: ${{ secrets.INFRA_TOKEN }}