Wesley van Tilburg 171955a6cc
Some checks failed
Build container / build (push) Failing after 30s
feat: initial ci setup
2025-01-02 17:20:05 +01:00

25 lines
703 B
YAML

name: Build container
on:
push:
jobs:
build:
runs-on: container-builder
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: ${{ github.ref_name }}
registry: git.plabble.org
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}