Files
pastabble/.gitea/workflows/ci.yaml

29 lines
836 B
YAML

name: Build container
on:
push:
jobs:
build:
runs-on: citadel-container-builder
steps:
- uses: actions/checkout@v4
- name: Install qemu dependency
run: |
sudo dnf install -y qemu-user-static-aarch64
- name: Build
uses: redhat-actions/buildah-build@v2
with:
image: ${{ github.repository_owner }}/${{ github.event.repository.name }}
tags: latest
archs: arm64
containerfiles: |
./Containerfile
- name: Push
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ github.repository_owner }}/${{ github.event.repository.name }}
tags: latest
registry: git.plabble.org
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}