chore(release): v2.2.8 version bump and changelog scaffold

This commit is contained in:
matt 2025-09-10 09:47:38 -07:00
parent 73d48567b6
commit a9a9350aa0
5 changed files with 21 additions and 59 deletions

View file

@ -119,60 +119,10 @@ jobs:
build-args: |
APP_VERSION=${{ needs.prepare.outputs.version }}
build_arm64_native:
name: Build (arm64 native)
# Native ARM64 GitHub hosted runner; if unavailable replace with self-hosted label
runs-on: ubuntu-24.04-arm64
needs: prepare
permissions:
contents: read
timeout-minutes: 10
continue-on-error: true
steps:
- name: Checkout
uses: actions/checkout@v5.0.0
- name: Prepare arm64 tag list
id: arch_tags
shell: bash
run: |
echo "Generating arm64 tag variants (native)" >&2
TAGS='${{ needs.prepare.outputs.tags }}'
# Exclude 'latest' so only final manifest produces plain 'latest'
echo "$TAGS" | grep -v ':latest$' | sed 's/$/-arm64/' | grep . > tags.txt
echo "Computed tags:" >&2; cat tags.txt >&2
echo "tags<<EOF" >> $GITHUB_OUTPUT
cat tags.txt >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
- name: Docker Hub login
uses: docker/login-action@v3.5.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.11.1
- name: Build & push arch image (arm64 native)
id: build
uses: docker/build-push-action@v6.18.0
with:
context: .
file: ./Dockerfile
push: true
platforms: linux/arm64
tags: ${{ steps.arch_tags.outputs.tags }}
labels: ${{ needs.prepare.outputs.labels }}
build-args: |
APP_VERSION=${{ needs.prepare.outputs.version }}
build_arm64_emulated:
name: Build (arm64 emulated fallback)
build_arm64:
name: Build (arm64)
runs-on: ubuntu-latest
needs: [prepare, build_arm64_native]
# Run if native arm64 did NOT succeed (failure, cancelled, or skipped)
if: needs.build_arm64_native.result != 'success'
needs: prepare
permissions:
contents: read
steps:
@ -218,7 +168,7 @@ jobs:
manifest:
name: Create multi-arch manifests
runs-on: ubuntu-latest
needs: [prepare, build_amd64, build_arm64_native, build_arm64_emulated]
needs: [prepare, build_amd64, build_arm64]
steps:
- name: Docker Hub login
uses: docker/login-action@v3.5.0
@ -231,7 +181,7 @@ jobs:
env:
TAGS: ${{ needs.prepare.outputs.tags }}
run: |
echo "Creating multi-arch manifests (native preferred, fallback if needed)..."
echo "Creating multi-arch manifests (amd64 + arm64)..."
VERSION_PRIMARY=$(echo "$TAGS" | grep -v ':latest$' | head -n1)
echo "$TAGS" | while read -r tag; do
[ -z "$tag" ] && continue