Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Highfire1 authored Nov 4, 2024
1 parent 451ed93 commit 9d17293
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,29 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
- name: Build and push backend
uses: docker/build-push-action@v4
with:
context: .
file: Dockerfile-backend
platforms: linux/amd64,linux/arm64
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
tags: |
ghcr.io/langaracpsc/langaracoursewatcher:latest
ghcr.io/langaracpsc/langaracoursewatcher-backend:latest
- name: Build and push api
uses: docker/build-push-action@v4
with:
context: .
file: Dockerfile-api
platforms: linux/amd64,linux/arm64
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
tags: |
ghcr.io/langaracpsc/langaracoursewatcher-api:latest
deployment:
needs: build
Expand Down

0 comments on commit 9d17293

Please sign in to comment.