2024-12-21 10:37:01 +00:00
|
|
|
name: Build container
|
2024-09-29 09:29:50 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 16 * * FRI'
|
2024-09-28 16:00:00 +00:00
|
|
|
|
|
|
|
jobs:
|
2024-12-21 10:37:01 +00:00
|
|
|
build:
|
|
|
|
runs-on: rocky-minimal
|
2024-09-28 16:00:00 +00:00
|
|
|
steps:
|
2024-12-21 10:37:01 +00:00
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Build
|
|
|
|
uses: redhat-actions/buildah-build@v2
|
2024-09-28 16:00:00 +00:00
|
|
|
with:
|
2024-12-21 10:37:01 +00:00
|
|
|
image: ${{ github.actor }}/${{ github.event.repository.name }}
|
|
|
|
tags: latest
|
|
|
|
containerfiles: |
|
|
|
|
./Containerfile
|
|
|
|
- name: Push
|
|
|
|
uses: redhat-actions/push-to-registry@v2
|
2024-09-28 16:00:00 +00:00
|
|
|
with:
|
2024-12-21 10:37:01 +00:00
|
|
|
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 }}
|