Skip to content

Commit

Permalink
Fix docker deploy pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Jowindebondt committed Jun 4, 2024
1 parent 42c9aae commit fe99256
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions .github/workflows/Docker deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,32 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and test
# Database
- name: Build and test Database
uses: docker/build-push-action@v5
with:
context: .
context: ./Database
target: build
load: true
- name: Build and push
- name: Build and push Database
uses: docker/build-push-action@v5
with:
context: .
context: ./Database
push: true
target: final
tags: ${{ secrets.DOCKER_USERNAME }}/${{ github.event.repository.name }}:latest
# Server
- name: Build and test Server
uses: docker/build-push-action@v5
with:
context: ./Server
target: build
load: true
- name: Build and push Server
uses: docker/build-push-action@v5
with:
context: ./Server
push: true
target: final
tags: ${{ secrets.DOCKER_USERNAME }}/${{ github.event.repository.name }}:latest

0 comments on commit fe99256

Please sign in to comment.