Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
adk/
node_modules/
.output/
.git/
packages/*/node_modules/
packages/*/.output/
packages/*/dist/
dist/
__pycache__
*.pyc
.venv
.env
6 changes: 3 additions & 3 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v6
with:
context: ./adk
file: ./adk/Dockerfile
context: .
file: ./packages/adk/Dockerfile
push: true
tags: cofacts/adk:latest
cache-from: type=gha
Expand All @@ -51,7 +51,7 @@ jobs:
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
file: ./packages/web/Dockerfile
push: true
tags: cofacts/site:latest
cache-from: type=gha
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ jobs:
SHA: ${{ github.sha }}
run: |
# Build frontend
docker build -t asia-east1-docker.pkg.dev/$PROJECT_ID/cofacts-ai/frontend:$SHA -f Dockerfile .
docker build -t asia-east1-docker.pkg.dev/$PROJECT_ID/cofacts-ai/frontend:$SHA -f packages/web/Dockerfile .
docker push asia-east1-docker.pkg.dev/$PROJECT_ID/cofacts-ai/frontend:$SHA

# Build backend
docker build -t asia-east1-docker.pkg.dev/$PROJECT_ID/cofacts-ai/backend:$SHA -f adk/Dockerfile adk
docker build -t asia-east1-docker.pkg.dev/$PROJECT_ID/cofacts-ai/backend:$SHA -f packages/adk/Dockerfile .
docker push asia-east1-docker.pkg.dev/$PROJECT_ID/cofacts-ai/backend:$SHA

echo "FRONTEND_IMAGE=asia-east1-docker.pkg.dev/$PROJECT_ID/cofacts-ai/frontend:$SHA" >> $GITHUB_ENV
Expand Down
21 changes: 0 additions & 21 deletions Dockerfile

This file was deleted.

15 changes: 0 additions & 15 deletions adk/Dockerfile

This file was deleted.

8 changes: 0 additions & 8 deletions adk/cofacts-ai/.env.example

This file was deleted.

Loading
Loading