fix: docker build

This commit is contained in:
Alpha Nerd 2026-04-07 17:50:42 +02:00
parent 9c4b506805
commit 27d77c6e5d
Signed by: alpha-nerd
SSH key fingerprint: SHA256:QkkAgVoYi9TQ0UKPkiKSfnerZy2h4qhi3SVPXJmBN+M
3 changed files with 3 additions and 23 deletions

View file

@ -148,13 +148,3 @@ jobs:
${{ env.REGISTRY }}/${{ env.CACHE_IMAGE }}:platform-semantic-amd64 \ ${{ env.REGISTRY }}/${{ env.CACHE_IMAGE }}:platform-semantic-amd64 \
${{ env.REGISTRY }}/${{ env.CACHE_IMAGE }}:platform-semantic-arm64 ${{ env.REGISTRY }}/${{ env.CACHE_IMAGE }}:platform-semantic-arm64
- name: Delete intermediate platform tags
run: |
CACHE_NAME="${{ env.CACHE_IMAGE }}"
CACHE_NAME="${CACHE_NAME##*/}"
for tag in platform-semantic-amd64 platform-semantic-arm64; do
STATUS=$(curl -s -o /dev/null -w "%{http_code}" -X DELETE \
-H "Authorization: token ${{ secrets.REGISTRY_TOKEN }}" \
"https://${{ env.REGISTRY }}/api/v1/packages/${{ github.repository_owner }}/container/${CACHE_NAME}/${tag}")
echo "DELETE ${tag}: HTTP ${STATUS}"
done

View file

@ -94,7 +94,7 @@ jobs:
- name: Install Docker - name: Install Docker
run: | run: |
apt-get update -qq apt-get update -qq
apt-get install -y -qq docker.io jq curl apt-get install -y -qq docker.io jq
- name: Start Docker daemon - name: Start Docker daemon
run: | run: |
@ -138,13 +138,3 @@ jobs:
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:platform-amd64 \ ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:platform-amd64 \
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:platform-arm64 ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:platform-arm64
- name: Delete intermediate platform tags
run: |
PACKAGE_NAME="${{ env.IMAGE_NAME }}"
PACKAGE_NAME="${PACKAGE_NAME##*/}"
for tag in platform-amd64 platform-arm64; do
STATUS=$(curl -s -o /dev/null -w "%{http_code}" -X DELETE \
-H "Authorization: token ${{ secrets.REGISTRY_TOKEN }}" \
"https://${{ env.REGISTRY }}/api/v1/packages/${{ github.repository_owner }}/container/${PACKAGE_NAME}/${tag}")
echo "DELETE ${tag}: HTTP ${STATUS}"
done

View file

@ -80,14 +80,14 @@ Pre-built multi-arch images (`linux/amd64`, `linux/arm64`) are published automat
```sh ```sh
docker pull bitfreedom.net/nomyo-ai/nomyo-router:latest docker pull bitfreedom.net/nomyo-ai/nomyo-router:latest
docker pull bitfreedom.net/nomyo-ai/nomyo-router:v0.7.0 docker pull bitfreedom.net/nomyo-ai/nomyo-router:0.7
``` ```
**Semantic image** (semantic cache with `all-MiniLM-L6-v2` pre-baked, ~800 MB): **Semantic image** (semantic cache with `all-MiniLM-L6-v2` pre-baked, ~800 MB):
```sh ```sh
docker pull bitfreedom.net/nomyo-ai/nomyo-router:latest-semantic docker pull bitfreedom.net/nomyo-ai/nomyo-router:latest-semantic
docker pull bitfreedom.net/nomyo-ai/nomyo-router:0.7.0-semantic docker pull bitfreedom.net/nomyo-ai/nomyo-router:0.7-semantic
``` ```
### Build the container image locally ### Build the container image locally