Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ebrett committed Oct 31, 2023
1 parent 92870a1 commit d15ff9a
Showing 1 changed file with 17 additions and 18 deletions.
35 changes: 17 additions & 18 deletions .github/workflows/azure-deploy-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}

0 comments on commit d15ff9a

Please sign in to comment.