diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 2f4bb30a6a63..e6501305f384 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -22,6 +22,11 @@ jobs: permissions: contents: read packages: write + # The id-token write permission is needed to connect to Depot.dev + # as part of the partial-builder.yml action. It needs to be declared + # in the parent action, as noted here: + # https://github.com/orgs/community/discussions/76409#discussioncomment-8131390 + id-token: write name: Build Tagged Release uses: ./.github/workflows/partial-builder.yml needs: diff --git a/.github/workflows/partial-builder.yml b/.github/workflows/partial-builder.yml index 2af0f128f714..c6362ba3b970 100644 --- a/.github/workflows/partial-builder.yml +++ b/.github/workflows/partial-builder.yml @@ -35,19 +35,16 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - name: Override __init__.py run: | echo "__version__ = \"${{ inputs.tag }}\"" > ./mealie/__init__.py - - name: Build and push Docker image - uses: docker/build-push-action@v5 + - uses: depot/setup-action@v1 + + - name: Build and push Docker image, via Depot.dev + uses: depot/build-push-action@v1 with: + project: srzjb6mhzm file: ./docker/Dockerfile context: . platforms: linux/amd64,linux/arm64 @@ -58,6 +55,3 @@ jobs: ${{ inputs.tags }} build-args: | COMMIT=${{ github.sha }} - # https://docs.docker.com/build/ci/github-actions/cache/#github-cache - cache-from: type=gha - cache-to: type=gha,mode=max diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8417fff333b7..817ba3e8c14e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,6 +17,11 @@ jobs: permissions: contents: read packages: write + # The id-token write permission is needed to connect to Depot.dev + # as part of the partial-builder.yml action. It needs to be declared + # in the parent action, as noted here: + # https://github.com/orgs/community/discussions/76409#discussioncomment-8131390 + id-token: write name: Build Tagged Release uses: ./.github/workflows/partial-builder.yml needs: diff --git a/README.md b/README.md index c6a2ada2c07c..4de8c5fac768 100644 --- a/README.md +++ b/README.md @@ -71,12 +71,9 @@ Distributed under the AGPL License. See `LICENSE` for more information. Huge thanks to all the sponsors of this project on [Github Sponsors](https://github.com/sponsors/hay-kot) and Buy Me a Coffee. Without you, this project would surely not be possible. -Thanks to Linode for providing Hosting for the Demo, Beta, and Documentation sites! Another big thanks to JetBrains for providing their IDEs for development. +Thanks to Depot for providing build instances for our Docker image builds. -