devcontainer/.gitea/workflows/ci.yaml
Job79 b81430e204
Some checks failed
Build container / build (push) Failing after 5m54s
ci: use podman instead of docker for container builds
2024-12-21 11:45:58 +01:00

28 lines
743 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: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}