Skip to content

Commit

Permalink
Update dev.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ngoerlitz committed Apr 11, 2024
1 parent b9bdb93 commit 4048c78
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,9 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

# Build and push Backend Docker image
- name: Build backend image
- name: Build and push docker images
run: |
docker build --pull -t ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_BACKEND }}:latest -f backend.Dockerfile .
- name: Push backend image
run: docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_BACKEND }}:latest

# Build and push Frontend Docker image
- name: Build frontend image
run: |
docker build --pull -t ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_FRONTEND }}:latest -f frontend.Dockerfile .
- name: Push frontend image
run: docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_FRONTEND }}:latest
docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_BACKEND }}:latest
docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_FRONTEND }}:latest

0 comments on commit 4048c78

Please sign in to comment.