Skip to content

Commit

Permalink
Updated workflow for docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
soaibsafi committed Jun 25, 2024
1 parent 469415b commit 74ad3fc
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Build and push Backend
run: |
cd backend
docker build -t ghcr.io/${{ github.repository }}-backend:latest .
docker build --build-arg VITE_FMP_API_URL=https://play.formal-methods.net/api -t ghcr.io/${{ github.repository }}-backend:latest .
echo ${{ secrets.GHCR_TOKEN }} | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin
docker push ghcr.io/${{ github.repository }}-backend:latest
Expand All @@ -26,9 +26,9 @@ jobs:
echo ${{ secrets.GHCR_TOKEN }} | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin
docker push ghcr.io/${{ github.repository }}-frontend:latest
# - name: Build and push Alloy API
# run: |
# cd alloy-app/api
# docker build -t ghcr.io/${{ github.repository }}-alloy-api:latest .
# echo ${{ secrets.GHCR_TOKEN }} | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin
# docker push ghcr.io/${{ github.repository }}-alloy-api:latest
- name: Build and push Alloy API
run: |
cd alloy-api
docker build -t ghcr.io/${{ github.repository }}-alloy-api:latest .
echo ${{ secrets.GHCR_TOKEN }} | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin
docker push ghcr.io/${{ github.repository }}-alloy-api:latest

0 comments on commit 74ad3fc

Please sign in to comment.