Skip to content

Commit

Permalink
Update fix indent error
Browse files Browse the repository at this point in the history
  • Loading branch information
bigzaja4 committed Jan 12, 2024
1 parent 264a0f8 commit dbb6517
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dbb6517

Please sign in to comment.