Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ngoerlitz committed Apr 11, 2024
1 parent d0b0ca1 commit b9bdb93
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,26 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

# Log in to the Container registry
- name: Log in to the Container registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

# Build and push Backend Docker image
- name: Build backend image
run: |
docker build --pull -t ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_BACKEND }}:latest -f backend.Dockerfile .
docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_BACKEND }}:latest
- name: Log in to the Container registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- 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 .
docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_FRONTEND }}:latest
- name: Push frontend image
run: docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_FRONTEND }}:latest

0 comments on commit b9bdb93

Please sign in to comment.