max / alloy_tui
| 1 | # Alloy image build — builds.sr.ht |
| 2 | # |
| 3 | # Build-and-lint smoke test. Validates the Containerfile on every push |
| 4 | # without publishing anywhere. Sign + push tasks are added back when |
| 5 | # Alloy is ready to distribute (see IMAGE.md open questions). |
| 6 | # |
| 7 | # Triggered by push to main + weekly cron for upstream base updates. |
| 8 | |
| 9 | image: fedora/41 |
| 10 | |
| 11 | packages: |
| 12 | - podman |
| 13 | - buildah |
| 14 | |
| 15 | sources: |
| 16 | - https://git.sr.ht/~maxmj/alloy |
| 17 | |
| 18 | environment: |
| 19 | IMAGE_TAG: alloy:ci |
| 20 | |
| 21 | tasks: |
| 22 | - build: | |
| 23 | cd alloy |
| 24 | podman build -t "$IMAGE_TAG" . |
| 25 | |
| 26 | - lint: | |
| 27 | podman run --rm --entrypoint /usr/bin/bootc "$IMAGE_TAG" \ |
| 28 | container lint |
| 29 | |
| 30 | triggers: |
| 31 | - action: email |
| 32 | condition: failure |
| 33 | to: info@makenot.work |
| 34 |