2024-12-21 11:37:01 +01:00
|
|
|
name: Build container
|
2024-09-29 11:29:50 +02:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 16 * * FRI'
|
2024-09-28 18:00:00 +02:00
|
|
|
|
|
|
|
jobs:
|
2024-12-21 11:37:01 +01:00
|
|
|
build:
|
2024-12-31 14:37:58 +01:00
|
|
|
runs-on: container-builder
|
2024-09-28 18:00:00 +02:00
|
|
|
steps:
|
2024-12-21 11:37:01 +01:00
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Build
|
|
|
|
uses: redhat-actions/buildah-build@v2
|
2024-09-28 18:00:00 +02:00
|
|
|
with:
|
2024-12-21 11:37:01 +01:00
|
|
|
image: ${{ github.actor }}/${{ github.event.repository.name }}
|
|
|
|
tags: latest
|
|
|
|
containerfiles: |
|
|
|
|
./Containerfile
|
|
|
|
- name: Push
|
|
|
|
uses: redhat-actions/push-to-registry@v2
|
2024-09-28 18:00:00 +02:00
|
|
|
with:
|
2024-12-21 11:37:01 +01:00
|
|
|
image: ${{ github.actor }}/${{ github.event.repository.name }}
|
|
|
|
tags: latest
|
2024-09-28 18:00:00 +02:00
|
|
|
registry: git.plabble.org
|
|
|
|
username: ${{ secrets.REGISTRY_USERNAME }}
|
|
|
|
password: ${{ secrets.REGISTRY_TOKEN }}
|