Reusable workflows for use with forgejo actions
- Shell 100%
| .forgejo/workflows | ||
| chart-release.sh | ||
| generate-release-notes.sh | ||
| label-check.sh | ||
| README.md | ||
| semver-bump.sh | ||
Reusable Workflows
Docker Build and Push
name: Build Firefox Kiosk Image
on:
workflow_dispatch:
inputs:
tag:
description: 'Image Tag'
required: true
type: string
default: "latest"
jobs:
firefox-kiosk:
uses: small-hack/reusable-workflows/.forgejo/workflows/docker-build-and-push.yaml@main
with:
tag: ${{ inputs.tag }}
path: "./firefox/"
image: "firefox-kiosk"
platforms: "linux/amd64,linux/arm64"
docker_registry: "deserializeme"
harbor_registry: "smallhack"
secrets: inherit
Publish Helm Charts
name: Release Charts
on:
pull_request:
branches:
- main
types:
[closed]
workflow_dispatch:
jobs:
harbor:
uses: small-hack/reusable-workflows/.forgejo/workflows/publish-charts.yaml@main
with:
harbor_url: harbor.smallhack.org
harbor_project: charts
force: false
chart_dir: charts
secrets: inherit
forgejo:
uses: small-hack/reusable-workflows/.forgejo/workflows/publish-charts.yaml@main
with:
forgejo_url: https://git.smallhack.org
owner: small-hack
repo: kubevirt-community-stack
force: false
chart_dir: charts
secrets: inherit
Renovate
name: Renovate
on:
workflow_dispatch:
schedule:
# This should be every hour
- cron: '55 * * * *'
push:
branches:
- main
paths:
- ".github/renovate-config.json"
- ".github/workflows/renovate.yml"
- "renovate.json"
- "scripts/**"
jobs:
renovate:
uses: small-hack/reusable-workflows/.forgejo/workflows/renovate.yaml@main
secrets: inherit
Check PR Labels
name: Check PR Labels
on:
pull_request:
types: [opened, synchronize, reopened, edited, labeled]
permissions:
contents: read
jobs:
check-pr-labels:
uses: small-hack/reusable-workflows/.forgejo/workflows/check-pr-labels.yaml@main
with:
default_patch: false
skip_checks: ""