Compare commits

1 Commits

Author SHA1 Message Date
9e671fa82a use multiple runners for the multi-arch build
All checks were successful
CI / Static Analysis (pre-commit) (pull_request) Successful in 1m5s
CI / Tests (pull_request) Successful in 1m7s
CI / Build and push image (map[platform:linux/arm64 runner:ubuntu-arm-latest]) (pull_request) Successful in 57s
CI / Build and push image (map[platform:linux/amd64 runner:ubuntu-latest]) (pull_request) Successful in 1m19s
2025-05-26 20:21:56 -06:00
4 changed files with 3 additions and 104 deletions

View File

@@ -1,52 +0,0 @@
# aider chat started at 2025-06-14 08:29:17
> You can skip this check with --no-gitignore
> Add .aider* to .gitignore (recommended)? (Y)es/(N)o [Yes]: y
> Added .aider* to .gitignore
> /Users/brian/.local/bin/aider
> No LLM model was specified and no API keys were provided.
> OpenRouter provides free and paid access to many LLMs.
> Login to OpenRouter or create a free account? (Y)es/(N)o [Yes]: n
> https://aider.chat/docs/troubleshooting/models-and-keys.html
> Open documentation URL for more info? (Y)es/(N)o/(D)on't ask again [Yes]: n
# aider chat started at 2025-06-14 08:32:59
> /Users/brian/.local/bin/aider --model ollama_chat/qwen2.5-coder
> Warning: ollama_chat/qwen2.5-coder expects these environment variables
> - OLLAMA_API_BASE: Not set
> Warning for ollama_chat/qwen2.5-coder: Unknown context window size and costs, using sane defaults.
> You can skip this check with --no-show-model-warnings
> https://aider.chat/docs/llms/warnings.html
> Open documentation url for more info? (Y)es/(N)o/(D)on't ask again [Yes]: y
> Aider v0.84.0
> Model: ollama_chat/qwen2.5-coder with whole edit format
> Git repo: .git with 36 files
> Repo-map: using 1024 tokens, auto refresh
# aider chat started at 2025-06-14 08:34:37
> /Users/brian/.local/bin/aider --model ollama_chat/qwen2.5-coder:8b
> Warning: ollama_chat/qwen2.5-coder:8b expects these environment variables
> - OLLAMA_API_BASE: Not set
> Warning for ollama_chat/qwen2.5-coder:8b: Unknown context window size and costs, using sane defaults.
> You can skip this check with --no-show-model-warnings
> https://aider.chat/docs/llms/warnings.html
> Open documentation url for more info? (Y)es/(N)o/(D)on't ask again [Yes]: n
> Aider v0.84.0
> Model: ollama_chat/qwen2.5-coder:8b with whole edit format
> Git repo: .git with 36 files
> Repo-map: using 1024 tokens, auto refresh
# aider chat started at 2025-06-14 08:34:57
> /Users/brian/.local/bin/aider --model ollama_chat/qwen2.5-coder:8b
> Warning for ollama_chat/qwen2.5-coder:8b: Unknown context window size and costs, using sane defaults.
> You can skip this check with --no-show-model-warnings
> https://aider.chat/docs/llms/warnings.html
> Open documentation url for more info? (Y)es/(N)o/(D)on't ask again [Yes]: y
> Aider v0.84.0
> Model: ollama_chat/qwen2.5-coder:8b with whole edit format
> Git repo: .git with 36 files
> Repo-map: using 1024 tokens, auto refresh

View File

@@ -1,6 +0,0 @@
# 2025-06-14 08:30:54.749653
+N
# 2025-06-14 08:34:51.295609
+n

Binary file not shown.

View File

@@ -65,7 +65,6 @@ jobs:
name: Build and push image
runs-on: ${{ matrix.arch.runner }}
strategy:
fail-fast: false
matrix:
arch:
- runner: ubuntu-latest
@@ -86,7 +85,7 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Login to the container registry
- name: Login to the Container Registry
uses: docker/login-action@v3
with:
registry: brosner.dev
@@ -98,56 +97,14 @@ jobs:
id: build
uses: docker/build-push-action@v6
with:
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
labels: ${{ steps.meta.outputs.labels }}
annotations: ${{ steps.meta.outputs.annotations }}
target: prod
platforms: ${{ matrix.arch.platform }}
outputs: type=image,name=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }},push-by-digest=true,name-canonical=true,push=true
outputs: type=image,push-by-digest=true,name-canonical=true,push=true
- name: Export digest
run: |
mkdir -p ${{ runner.temp }}/digests
digest="${{ steps.build.outputs.digest }}"
touch "${{ runner.temp }}/digests/${digest#sha256:}"
- name: Upload digest
uses: christopherhx/gitea-upload-artifact@v4
with:
name: digests-${{ env.PLATFORM_PAIR }}
path: ${{ runner.temp }}/digests/*
if-no-files-found: error
retention-days: 1
merge:
name: Create docker manifest
runs-on: ubuntu-latest
needs:
- build
steps:
- name: Download digests
uses: christopherhx/gitea-download-artifact@v4
with:
path: ${{ runner.temp }}/digests
pattern: digests-*
merge-multiple: true
- name: Login to the container registry
uses: docker/login-action@v3
with:
registry: brosner.dev
username: brosner
password: ${{ secrets.CI_TOKEN }}
- name: Setup docker buildx
uses: docker/setup-buildx-action@v3
- name: Generate metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch
type=sha
- name: Create manifest list and push
working-directory: ${{ runner.temp }}/digests
run: |
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@sha256:%s ' *)
- name: Inspect image
run: |
docker buildx imagetools inspect ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.version }}