25 lines
719 B
YAML
Raw Normal View History

2025-01-02 17:18:29 +01:00
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 }}
2025-01-02 17:26:39 +01:00
tags: ${{ github.ref_name }}
2025-01-02 17:18:29 +01:00
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 }}