From 15113b4bbbf45390e20d21d45ba8a93b41b0995b Mon Sep 17 00:00:00 2001 From: Goutham Pratapa Date: Mon, 27 Oct 2025 17:58:54 +0530 Subject: [PATCH] chore: replace Docker build action with Depot action (#41323) ## Description > [!TIP] > _Add a TL;DR when the description is longer than 500 words or extremely technical (helps the content, marketing, and DevRel team)._ > > _Please also include relevant motivation and context. List any dependencies that are required for this change. Add links to Notion, Figma or any other documents that might be relevant to the PR._ Fixes #`Issue Number` _or_ Fixes `Issue URL` > [!WARNING] > _If no issue exists, please create an issue first, and check with the maintainers if the issue is valid._ ## Automation /ok-to-test tags="" ### :mag: Cypress test results > [!CAUTION] > If you modify the content in this section, you are likely to disrupt the CI result for your PR. ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [ ] No --- .github/workflows/docker-base-image.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-base-image.yml b/.github/workflows/docker-base-image.yml index 2348411e2d..6222195eaf 100644 --- a/.github/workflows/docker-base-image.yml +++ b/.github/workflows/docker-base-image.yml @@ -44,12 +44,19 @@ jobs: fi echo "tag=$tag" >> "$GITHUB_OUTPUT" + - name: Set up Depot CLI + uses: depot/setup-action@v1 + - name: Build and push base image - uses: docker/build-push-action@v5 + uses: depot/build-push-action@v1 with: + project: ${{ secrets.DEPOT_PROJECT_ID }} context: . file: deploy/docker/base.dockerfile push: true + pull: true platforms: linux/arm64,linux/amd64 tags: | ${{ vars.DOCKER_HUB_ORGANIZATION }}/base-${{ vars.EDITION }}:${{ steps.tag.outputs.tag }} + env: + DEPOT_TOKEN: ${{ secrets.DEPOT_TOKEN }}