devcontainer/.gitea/workflows/ci.yaml
Job79 9cca35a969
All checks were successful
Build container / build (push) Successful in 9m11s
ci: use podman instead of docker for container builds
2024-12-21 11:54:15 +01:00

28 lines
766 B
YAML

name: Build container
on:
push:
schedule:
- cron: '0 16 * * FRI'
jobs:
build:
runs-on: rocky-minimal
steps:
- uses: actions/checkout@v4
- name: Build
uses: redhat-actions/buildah-build@v2
with:
image: ${{ github.actor }}/${{ github.event.repository.name }}
tags: latest
containerfiles: |
./Containerfile
- name: Push
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ github.actor }}/${{ github.event.repository.name }}
tags: latest
extra-args: --compression-format zstd:chunked
registry: git.plabble.org
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}