fix(ci): 修正 docker build context 以支援 monorepo 編譯
This commit is contained in:
@@ -39,7 +39,8 @@ jobs:
|
||||
- name: Build and Push API
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: ./apps/api
|
||||
context: .
|
||||
file: ./apps/api/Dockerfile
|
||||
push: true
|
||||
tags: |
|
||||
${{ env.HARBOR }}/awoooi/api:${{ github.sha }}
|
||||
@@ -54,7 +55,8 @@ jobs:
|
||||
- name: Build and Push Web
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: ./apps/web
|
||||
context: .
|
||||
file: ./apps/web/Dockerfile
|
||||
push: true
|
||||
tags: |
|
||||
${{ env.HARBOR }}/awoooi/web:${{ github.sha }}
|
||||
|
||||
Reference in New Issue
Block a user