blumeops/.forgejo/workflows/build-devpi.yaml
Erich Blume 2c284ed0cf
Some checks failed
Test CI / test (pull_request) Successful in 3s
Build forgejo-runner / build (push) Failing after 0s
Switch container builds to indri docker-builder runner
- Use Docker instead of buildah in composite action
- Build workflows now run on docker-builder label
- Add actionlint config for custom runner labels
- Avoids nested containerization complexity in k8s

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 08:49:39 -08:00

37 lines
958 B
YAML

name: Build devpi
on:
push:
tags:
- 'devpi-v*'
workflow_dispatch:
inputs:
version:
description: 'Version (e.g. v1.0.0)'
required: true
jobs:
build:
runs-on: docker-builder
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Extract version from tag
id: version
run: |
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
VERSION="${{ github.event.inputs.version }}"
else
# Extract version from tag: devpi-v1.0.0 -> v1.0.0
VERSION="${GITHUB_REF_NAME#devpi-}"
fi
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
echo "Building version: $VERSION"
- name: Build and push
uses: ./.forgejo/actions/build-push-image
with:
context: argocd/manifests/devpi
image_name: blumeops/devpi
version: ${{ steps.version.outputs.version }}