Skip to content
Snippets Groups Projects
Commit 4bdd921c authored by timothycarambat's avatar timothycarambat
Browse files

rever ubuntu arm runner - fickle and fails often

parent 6aa18541
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ on: ...@@ -11,7 +11,7 @@ on:
jobs: jobs:
push_multi_platform_to_registries: push_multi_platform_to_registries:
name: Push Docker multi-platform image to multiple registries name: Push Docker multi-platform image to multiple registries
runs-on: ubuntu-24.04-arm runs-on: ubuntu-latest
permissions: permissions:
packages: write packages: write
contents: read contents: read
...@@ -32,6 +32,9 @@ jobs: ...@@ -32,6 +32,9 @@ jobs:
fi fi
id: dockerhub id: dockerhub
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
......
# This Github action is for publishing of the primary image for AnythingLLM # This Github action is for publishing of the primary image for AnythingLLM
# It will publish a linux/amd64 and linux/arm64 image at the same time # It will publish a linux/amd64 and linux/arm64 image at the same time
# This file should ONLY BY USED FOR `master` BRANCH. # This file should ONLY BY USED FOR `master` BRANCH.
# TODO: Github now has an ubuntu-24.04-arm64 runner, but we still need
# to use QEMU to build the arm64 image because Chromium is not available for Linux arm64
# so builds will still fail, or fail much more often. Its inconsistent and frustrating.
name: Publish AnythingLLM Primary Docker image (amd64/arm64) name: Publish AnythingLLM Primary Docker image (amd64/arm64)
concurrency: concurrency:
...@@ -25,7 +28,7 @@ on: ...@@ -25,7 +28,7 @@ on:
jobs: jobs:
push_multi_platform_to_registries: push_multi_platform_to_registries:
name: Push Docker multi-platform image to multiple registries name: Push Docker multi-platform image to multiple registries
runs-on: ubuntu-24.04-arm runs-on: ubuntu-latest
permissions: permissions:
packages: write packages: write
contents: read contents: read
...@@ -46,6 +49,9 @@ jobs: ...@@ -46,6 +49,9 @@ jobs:
fi fi
id: dockerhub id: dockerhub
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
...@@ -125,4 +131,4 @@ jobs: ...@@ -125,4 +131,4 @@ jobs:
$tag $tag
done done
done done
shell: bash shell: bash
\ No newline at end of file
name: AnythingLLM Development Docker image (amd64/arm64) name: AnythingLLM Development Docker image (amd64)
concurrency: concurrency:
group: build-${{ github.ref }} group: build-${{ github.ref }}
...@@ -20,7 +20,7 @@ on: ...@@ -20,7 +20,7 @@ on:
jobs: jobs:
push_multi_platform_to_registries: push_multi_platform_to_registries:
name: Push Docker multi-platform image to multiple registries name: Push Docker multi-platform image to multiple registries
runs-on: ubuntu-24.04-arm runs-on: ubuntu-latest
permissions: permissions:
packages: write packages: write
contents: read contents: read
...@@ -69,7 +69,7 @@ jobs: ...@@ -69,7 +69,7 @@ jobs:
push: true push: true
sbom: true sbom: true
provenance: mode=max provenance: mode=max
platforms: linux/amd64,linux/arm64 platforms: linux/amd64
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha cache-from: type=gha
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment