25 lines
703 B
YAML
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 }}
|