Template
Add workflows with template variables
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
.gitea/workflows/*.yaml
|
||||
README.md
|
||||
@@ -0,0 +1,25 @@
|
||||
name: Build and provide rpm of ${REPO_NAME}
|
||||
run-name: Rpmbuild ${REPO_NAME} at ${{ gitea.repository }} by ${{ github.actor }}
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
runsonlabel:
|
||||
type: choice
|
||||
description: "Choose a label"
|
||||
required: true
|
||||
options:
|
||||
- "f40-minimal-rpmbuild"
|
||||
- "f41-minimal-rpmbuild"
|
||||
- "f42-minimal-rpmbuild"
|
||||
jobs:
|
||||
rpmbuild:
|
||||
runs-on: ${{ inputs.runsonlabel }}
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: https://git.demus.dk/actions/git-clone@main
|
||||
- name: Build the rpms
|
||||
uses: https://git.demus.dk/actions/rpmbuild@main
|
||||
- name: Deploy to packages
|
||||
uses: https://git.demus.dk/actions/rpm-deploy@main
|
||||
with:
|
||||
pat: ${{ secrets.RPM_REPO_WRITE }}
|
||||
@@ -0,0 +1,15 @@
|
||||
name: Build and provide rpm of ${REPO_NAME}
|
||||
run-name: Rpmbuild ${REPO_NAME} by @${{ github.actor }}
|
||||
on: [ release ]
|
||||
jobs:
|
||||
rpmbuild:
|
||||
runs-on: f41-minimal-rpmbuild
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: https://git.demus.dk/actions/git-clone@main
|
||||
- name: Build the rpms
|
||||
uses: https://git.demus.dk/actions/rpmbuild@main
|
||||
- name: Deploy to packages
|
||||
uses: https://git.demus.dk/actions/rpm-deploy@main
|
||||
with:
|
||||
pat: ${{ secrets.RPM_REPO_WRITE }}
|
||||
@@ -0,0 +1,15 @@
|
||||
name: Build and provide rpm of ${REPO_NAME}
|
||||
run-name: Rpmbuild ${REPO_NAME} by @${{ github.actor }}
|
||||
on: [ release ]
|
||||
jobs:
|
||||
rpmbuild:
|
||||
runs-on: f42-minimal-rpmbuild
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: https://git.demus.dk/actions/git-clone@main
|
||||
- name: Build the rpms
|
||||
uses: https://git.demus.dk/actions/rpmbuild@main
|
||||
- name: Deploy to packages
|
||||
uses: https://git.demus.dk/actions/rpm-deploy@main
|
||||
with:
|
||||
pat: ${{ secrets.RPM_REPO_WRITE }}
|
||||
@@ -0,0 +1,15 @@
|
||||
name: Build and provide rpm of ${REPO_NAME}
|
||||
run-name: Rpmbuild ${REPO_NAME} by @${{ github.actor }}
|
||||
on: [ release ]
|
||||
jobs:
|
||||
rpmbuild:
|
||||
runs-on: rawhide-minimal-rpmbuild
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: https://git.demus.dk/actions/git-clone@main
|
||||
- name: Build the rpms
|
||||
uses: https://git.demus.dk/actions/rpmbuild@main
|
||||
- name: Deploy to packages
|
||||
uses: https://git.demus.dk/actions/rpm-deploy@main
|
||||
with:
|
||||
pat: ${{ secrets.RPM_REPO_WRITE }}
|
||||
@@ -20,6 +20,10 @@
|
||||
|
||||
# Go workspace file
|
||||
go.work
|
||||
go.work.sum
|
||||
|
||||
# env file
|
||||
.env
|
||||
|
||||
# ---> VisualStudioCode
|
||||
.vscode/*
|
||||
|
||||
Reference in New Issue
Block a user