Skip to content

Commit

Permalink
ci: add 'latest' tag to docker-publish to allow auto deploy to dev
Browse files Browse the repository at this point in the history
Merge pull request #240 from DFE-Digital/enable-dev-auto-deploy
  • Loading branch information
killij authored Sep 1, 2023
2 parents d9de4e0 + d821bec commit c2ca209
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
app-name: 's185d01-chidrens-social-care-cpd-app-service'
# slot-name: 'Dev'
images: 'ghcr.io/dfe-digital/childrens-social-care-cpd:master'
images: 'ghcr.io/dfe-digital/childrens-social-care-cpd:latest'

- name: Sign out of Azure
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
with:
context: Childrens-Social-Care-CPD
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_LOWER }}:${{ github.event.release.tag_name }}
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_LOWER }}:${{ github.event.release.tag_name }},${{ env.REGISTRY }}/${{ env.IMAGE_NAME_LOWER }}:latest
labels: ${{ steps.meta.outputs.labels }}
build-args: VCSREF=${{ env.sha_short }}
cache-from: type=gha
Expand Down

0 comments on commit c2ca209

Please sign in to comment.