T-3: switch from Buildah to Docker for image build
All checks were successful
CI / backend-test (push) Successful in 45s
CI / frontend-test (push) Successful in 18s
CI / build-and-publish (push) Successful in 1m15s

The act_runner does not have Buildah installed. Docker is available
via socket forwarding, so use docker build/tag/push instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-04 20:19:07 +01:00
parent 977795ffb1
commit a7303aa859

View File

@@ -74,19 +74,16 @@ jobs:
REGISTRY="${REGISTRY#http://}" REGISTRY="${REGISTRY#http://}"
REPO="${{ github.repository }}" REPO="${{ github.repository }}"
IMAGE="${REGISTRY}/${REPO}" IMAGE="${REGISTRY}/${REPO}"
buildah bud -t "${IMAGE}:${{ steps.semver.outputs.full }}" . docker build -t "${IMAGE}:${{ steps.semver.outputs.full }}" .
buildah tag "${IMAGE}:${{ steps.semver.outputs.full }}" \ docker tag "${IMAGE}:${{ steps.semver.outputs.full }}" "${IMAGE}:${{ steps.semver.outputs.minor }}"
"${IMAGE}:${{ steps.semver.outputs.minor }}" \ docker tag "${IMAGE}:${{ steps.semver.outputs.full }}" "${IMAGE}:${{ steps.semver.outputs.major }}"
"${IMAGE}:${{ steps.semver.outputs.major }}" \ docker tag "${IMAGE}:${{ steps.semver.outputs.full }}" "${IMAGE}:latest"
"${IMAGE}:latest"
echo "IMAGE=${IMAGE}" >> "$GITHUB_ENV" echo "IMAGE=${IMAGE}" >> "$GITHUB_ENV"
- name: Push to registry - name: Push to registry
run: | run: |
buildah login -u "${{ github.repository_owner }}" \ echo "${{ secrets.REGISTRY_TOKEN }}" | docker login -u "${{ github.repository_owner }}" --password-stdin "${IMAGE%%/*}"
-p "${{ secrets.REGISTRY_TOKEN }}" \ docker push "${IMAGE}:${{ steps.semver.outputs.full }}"
"${IMAGE%%/*}" docker push "${IMAGE}:${{ steps.semver.outputs.minor }}"
buildah push "${IMAGE}:${{ steps.semver.outputs.full }}" docker push "${IMAGE}:${{ steps.semver.outputs.major }}"
buildah push "${IMAGE}:${{ steps.semver.outputs.minor }}" docker push "${IMAGE}:latest"
buildah push "${IMAGE}:${{ steps.semver.outputs.major }}"
buildah push "${IMAGE}:latest"