Add Gitea Alpine registry workflow

This commit is contained in:
Joachim Schlöffel
2026-06-07 23:27:06 +02:00
parent 772eba1e20
commit bb176142e5
12 changed files with 282 additions and 14 deletions

View File

@@ -1,4 +1,5 @@
[tools]
act = "latest"
codex = "latest"
docker-cli = "latest"
shellcheck = "latest"
@@ -11,6 +12,10 @@ run = "scripts/apk/build.sh build"
description = "Build the Alpine package in Docker for all configured architectures"
run = "scripts/apk/build.sh build-all"
[tasks."apk:ci-build"]
description = "Build all configured Alpine packages directly in the current Alpine environment"
run = "scripts/apk/ci-build.sh"
[tasks."apk:build-x86_64"]
description = "Build the Alpine package in Docker for x86_64"
run = "scripts/apk/build.sh build x86_64"
@@ -35,6 +40,10 @@ run = "scripts/apk/build.sh lint"
description = "Install-test built packages from the local repository in Docker"
run = "scripts/apk/smoke.sh"
[tasks."apk:ci-smoke"]
description = "Install-test built packages directly in the current Alpine environment"
run = "scripts/apk/ci-smoke.sh"
[tasks."apk:test-shell"]
description = "Open an Alpine shell with the current local package build installed"
run = "scripts/apk/test-shell.sh"
@@ -47,6 +56,14 @@ run = "scripts/apk/list-packages.sh"
description = "Run lint, multi-arch build, package listing, and smoke test"
run = "scripts/apk/publish-check.sh"
[tasks."apk:publish-gitea"]
description = "Publish built packages to the Gitea Alpine package registry"
run = "scripts/apk/publish-gitea.sh"
[tasks."gitea-workflow-build"]
description = "Run the Gitea build workflow locally through act as a pull_request event"
run = "act pull_request -W .gitea/workflows/build.yml -j build-and-publish"
[tasks."apk:shell"]
description = "Open an Alpine package build shell in Docker"
run = "scripts/apk/build.sh shell"