From d15ff9a42ae41f84ab7d634057c2ac2689157829 Mon Sep 17 00:00:00 2001 From: Brett McHargue Date: Tue, 31 Oct 2023 15:37:01 +0000 Subject: [PATCH] Fix indentation --- .github/workflows/azure-deploy-stage.yml | 35 ++++++++++++------------ 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/.github/workflows/azure-deploy-stage.yml b/.github/workflows/azure-deploy-stage.yml index 64fb545e..6c2b65d8 100644 --- a/.github/workflows/azure-deploy-stage.yml +++ b/.github/workflows/azure-deploy-stage.yml @@ -61,22 +61,22 @@ jobs: username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - # Build and push image - - name: Build and push Docker Image - uses: docker/build-push-action@v5 - with: - target: production - context: . - file: Dockerfile.azure - build-args: | - BUILDKIT_INLINE_CACHE=1 - SHA=${{ github.sha }} - cache-from: | - ${{ env.DOCKER_IMAGE }}:${{ github.sha }} - ${{ env.DOCKER_IMAGE }}:${{ inputs.ref || github.ref_name }} - tags: | - ${{ env.DOCKER_IMAGE }}:${{ github.sha }} - ${{ env.DOCKER_IMAGE }}:${{ inputs.candidate || github.ref_name }} + # Build and push image + - name: Build and push Docker Image + uses: docker/build-push-action@v5 + with: + target: production + context: . + file: Dockerfile.azure + build-args: | + BUILDKIT_INLINE_CACHE=1 + SHA=${{ github.sha }} + cache-from: | + ${{ env.DOCKER_IMAGE }}:${{ github.sha }} + ${{ env.DOCKER_IMAGE }}:${{ inputs.ref || github.ref_name }} + tags: | + ${{ env.DOCKER_IMAGE }}:${{ github.sha }} + ${{ env.DOCKER_IMAGE }}:${{ inputs.candidate || github.ref_name }} # Login to Azure using OIDC - name: Login to Azure CLI @@ -91,5 +91,4 @@ jobs: uses: azure/webapps-deploy@v2 with: app-name: ${{ vars.WEBAPP_NAME }} - images: ${{ env.DOCKER_IMAGE }}:${{ inputs.candidate || github.ref_name }} - + images: ${{ env.DOCKER_IMAGE }}:${{ inputs.candidate || github.ref_name }} \ No newline at end of file