Wesley van Tilburg c1889392b4
All checks were successful
Build container / build (push) Successful in 41s
fix: ci build with right tag
2025-01-02 17:26:39 +01:00

25 lines
719 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: ${{ github.ref_name }}
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 }}