Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into a…
Browse files Browse the repository at this point in the history
…gent-ui-animations
  • Loading branch information
timothycarambat committed Jan 28, 2025
2 parents 7c84aa7 + 4bdd921 commit 4c61047
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build-and-push-image-semver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
push_multi_platform_to_registries:
name: Push Docker multi-platform image to multiple registries
runs-on: ubuntu-24.04-arm
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
Expand All @@ -32,6 +32,9 @@ jobs:
fi
id: dockerhub

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/build-and-push-image.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# 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
# 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)

concurrency:
Expand All @@ -25,7 +28,7 @@ on:
jobs:
push_multi_platform_to_registries:
name: Push Docker multi-platform image to multiple registries
runs-on: ubuntu-24.04-arm
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
Expand All @@ -46,6 +49,9 @@ jobs:
fi
id: dockerhub

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

Expand Down Expand Up @@ -125,4 +131,4 @@ jobs:
$tag
done
done
shell: bash
shell: bash
6 changes: 3 additions & 3 deletions .github/workflows/dev-build.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: AnythingLLM Development Docker image (amd64/arm64)
name: AnythingLLM Development Docker image (amd64)

concurrency:
group: build-${{ github.ref }}
Expand All @@ -20,7 +20,7 @@ on:
jobs:
push_multi_platform_to_registries:
name: Push Docker multi-platform image to multiple registries
runs-on: ubuntu-24.04-arm
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
push: true
sbom: true
provenance: mode=max
platforms: linux/amd64,linux/arm64
platforms: linux/amd64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
Expand Down

0 comments on commit 4c61047

Please sign in to comment.