Files
fedora-runner/.gitea/workflows/build.yaml
T
thayol ee45775b13
Build Runner Image / build (push) Failing after 22s
Install more tools into the builder workflow
2026-05-20 21:02:09 +02:00

30 lines
781 B
YAML

name: Build Runner Image
on:
push:
branches: [master]
jobs:
build:
runs-on: fedora-latest
steps:
- name: Install tools
run: dnf install -y git nodejs npm curl wget jq tar xz findutils which gcc make
- name: Checkout
run: git clone ${{ gitea.server_url }}/${{ gitea.repository }} .
- name: List directory contents
run: ls -lah
- name: Check buildah help
run: buildah --help
- name: Build image
run: buildah bud -t ${{ gitea.server_url }}/${{ gitea.repository }}:latest .
- name: Push image
run: |
buildah login -u ${{ gitea.actor }} -p ${{ secrets.GITEA_TOKEN }} ${{ gitea.server_url }}
buildah push ${{ gitea.server_url }}/${{ gitea.repository }}:latest