diff --git a/.github/workflows/release-docker-github.yml b/.github/workflows/release-docker-github.yml index 0dddc0fd41..f223083f54 100644 --- a/.github/workflows/release-docker-github.yml +++ b/.github/workflows/release-docker-github.yml @@ -44,6 +44,9 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 + - name: Set up Depot CLI + uses: depot/setup-action@v1 + # Install the cosign tool except on PR # https://github.com/sigstore/cosign-installer - name: Install cosign @@ -52,17 +55,6 @@ jobs: with: cosign-release: "v2.1.1" - # Add support for more platforms with QEMU (optional) - # https://github.com/docker/setup-qemu-action - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - # Set up BuildKit Docker container builder to be able to build - # multi-platform images and export cache - # https://github.com/docker/setup-buildx-action - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 # v3.0.0 - # Login against a Docker registry except on PR # https://github.com/docker/login-action - name: Log into registry ${{ env.REGISTRY }} @@ -85,11 +77,13 @@ jobs: # https://github.com/docker/build-push-action - name: Build and push Docker image id: build-and-push - uses: docker/build-push-action@v5 # v5.0.0 + uses: depot/build-push-action@v1 with: + project: tw0fqmsx3c + token: ${{ secrets.DEPOT_PROJECT_TOKEN }} context: . file: ./apps/web/Dockerfile - # platforms: linux/amd64,linux/arm64 + platforms: linux/amd64,linux/arm64 push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}