Skip to content

Commit

Permalink
Switch to tagging cd docker image with prod, rather than git commit sha
Browse files Browse the repository at this point in the history
  • Loading branch information
CalPinSW committed Jul 17, 2024
1 parent 9e06723 commit 68d501c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,17 @@ jobs:

- name: Build frontend Docker image
working-directory: frontend
run: docker build --target development --tag calpin/playlist-manager-frontend:${{ github.sha }} .
run: docker build --target development --tag calpin/playlist-manager-frontend:prod .
- name: Push frontend Docker image
working-directory: frontend
run: docker push calpin/playlist-manager-frontend:${{ github.sha }}
run: docker push calpin/playlist-manager-frontend:prod

- name: Build backend Docker image
working-directory: backend
run: docker build --target development --tag calpin/playlist-manager-backend:${{ github.sha }} .
run: docker build --target development --tag calpin/playlist-manager-backend:prod .
- name: Push backend Docker image
working-directory: backend
run: docker push calpin/playlist-manager-backend:${{ github.sha }}
run: docker push calpin/playlist-manager-backend:prod

deploy:
name: Deploy to Azure
Expand Down

0 comments on commit 68d501c

Please sign in to comment.