2025-01-18 12:39:28 +01:00
|
|
|
---
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
2025-01-19 21:32:11 +01:00
|
|
|
build-image:
|
|
|
|
runs-on: host
|
2025-01-19 10:37:22 +01:00
|
|
|
steps:
|
2025-01-19 21:46:36 +01:00
|
|
|
- name: Test OS
|
|
|
|
shell: js
|
|
|
|
run: |
|
|
|
|
console.log(process.env.RUNNER_OS)
|
2025-01-19 10:49:52 +01:00
|
|
|
- uses: actions/checkout@v3
|
2025-01-19 21:32:11 +01:00
|
|
|
- uses: https://github.com/redhat-actions/buildah-build@v2
|
|
|
|
with:
|
|
|
|
containerfiles: Containerfile
|
|
|
|
image: ${{ github.repository }}
|
|
|
|
registry: gitea.sebastian-tobie.de
|
|
|
|
tags: latest ${{ github.run_number }}
|
|
|
|
- uses: https://github.com/redhat-actions/push-to-registry@v2.8
|
2025-01-18 16:14:33 +01:00
|
|
|
with:
|
2025-01-19 21:32:11 +01:00
|
|
|
image: ${{ github.repository }}
|
|
|
|
registry: gitea.sebastian-tobie.de
|
|
|
|
tags: latest ${{ github.run_number }}
|
2025-01-19 21:46:36 +01:00
|
|
|
password: ${{ github.token }}
|