Skip to content

Commit

Permalink
updates to deployment config
Browse files Browse the repository at this point in the history
  • Loading branch information
yokwejuste committed Aug 18, 2024
1 parent 8e733d0 commit f19a543
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main_dj237-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@ jobs:

- name: Pull and deploy the pinned Docker image
run: |
docker pull ${{ env.AZURE_CONTAINER_REGISTRY_LOGIN_SERVER }}/${{ env.APP_NAME }}:latest
docker run -d --name ${{ env.APP_NAME }} --restart always -p 80:8000 ${{ env.AZURE_CONTAINER_REGISTRY_LOGIN_SERVER }}/${{ env.APP_NAME }}:latest
docker pull ${{ env.AZURE_CONTAINER_REGISTRY_LOGIN_SERVER }}/${{ env.APP_NAME }}:${{ needs.build-and-push.outputs.image_tag }}
docker run -d --name ${{ env.APP_NAME }} --restart always -p 80:8000 ${{ env.AZURE_CONTAINER_REGISTRY_LOGIN_SERVER }}/${{ env.APP_NAME }}:${{ needs.build-and-push.outputs.image_tag }}

0 comments on commit f19a543

Please sign in to comment.