From dbb65175f8ac5194675496aa12902328e92f79c9 Mon Sep 17 00:00:00 2001 From: Wirawat roj Date: Fri, 12 Jan 2024 16:29:35 +0700 Subject: [PATCH] Update fix indent error --- .github/workflows/release.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 83cea16144406..51c013555db61 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -104,21 +104,21 @@ jobs: registries: ${{ secrets.AWS_ECR_ACCOUNT_ID }} - name: Build and push - env: - ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }} - ECR_REPOSITORY: directus - uses: docker/build-push-action@v3 - with: - context: . - file: ./Dockerfile - tags: | - ${{ env.GHCR_IMAGE }}:${{ env.VERSION }} - $ECR_REGISTRY/$ECR_REPOSITORY:${{ env.VERSION }} - labels: ${{ steps.meta.outputs.labels }} - platforms: linux/amd64,linux/arm64 - push: true - cache-from: type=local,src=/tmp/.buildx-cache - cache-to: type=local,dest=/tmp/.buildx-cache-new + env: + ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }} + ECR_REPOSITORY: directus + uses: docker/build-push-action@v3 + with: + context: . + file: ./Dockerfile + tags: | + ${{ env.GHCR_IMAGE }}:${{ env.VERSION }} + $ECR_REGISTRY/$ECR_REPOSITORY:${{ env.VERSION }} + labels: ${{ steps.meta.outputs.labels }} + platforms: linux/amd64,linux/arm64 + push: true + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache-new # Temp fix: # https://github.com/docker/build-push-action/issues/252