A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
Revert "docker: Attempt to improve build times by changing cache backend"
MohamedBassemafefbe3cb46f
diff --git a/.dockerignore b/.dockerignoreindex 52209531..7759d5dd 100644--- a/.dockerignore+++ b/.dockerignore@@ -1,7 +1,6 @@-docker/Dockerfile+Dockerfile.dockerignorenode_modules-**/node_modulesnpm-debug.logREADME.md**/.nextdiff --git a/.github/workflows/docker.yml b/.github/workflows/docker.ymlindex 767a9cde..d6de38fd 100644--- a/.github/workflows/docker.yml+++ b/.github/workflows/docker.yml@@ -11,7 +11,6 @@ jobs:strategy:matrix:package: [web, workers, cli]- arch: [linux/amd64, linux/arm64]runs-on: ubuntu-latestpermissions:packages: write@@ -36,11 +35,11 @@ jobs:build-args: SERVER_VERSION=nightlyfile: docker/Dockerfiletarget: ${{ matrix.package }}- platforms: ${{ matrix.arch }}+ platforms: linux/amd64,linux/arm64push: truetags: ghcr.io/mohamedbassem/hoarder-${{ matrix.package }}:latest- cache-from: type=gha,scope=${{ matrix.package }}_${{ matrix.arch }}- cache-to: type=gha,mode=max,scope=${{ matrix.package }}_${{ matrix.arch }}+ cache-from: type=registry,ref=ghcr.io/mohamedbassem/hoarder-build-cache:${{ matrix.package }}+ cache-to: type=registry,mode=max,ref=ghcr.io/mohamedbassem/hoarder-build-cache:${{ matrix.package }}- name: Build ${{ matrix.package }} (release)uses: docker/build-push-action@v5@@ -50,8 +49,8 @@ jobs:build-args: SERVER_VERSION=${{ github.event.release.name }}file: docker/Dockerfiletarget: ${{ matrix.package }}- platforms: ${{ matrix.arch }}+ platforms: linux/amd64,linux/arm64push: truetags: ghcr.io/mohamedbassem/hoarder-${{ matrix.package }}:${{ github.event.release.name }},ghcr.io/mohamedbassem/hoarder-${{ matrix.package }}:release- cache-from: type=gha,scope=${{ matrix.package }}_${{ matrix.arch }}- cache-to: type=gha,mode=max,scope=${{ matrix.package }}_${{ matrix.arch }}+ cache-from: type=registry,ref=ghcr.io/mohamedbassem/hoarder-build-cache:${{ matrix.package }}+ cache-to: type=registry,mode=max,ref=ghcr.io/mohamedbassem/hoarder-build-cache:${{ matrix.package }}