fix: use local nuget cache for faster docker build
This commit is contained in:
@@ -25,7 +25,10 @@ jobs:
|
||||
- name: Build Docker image
|
||||
run: |
|
||||
cd /opt/deploy/adminapi
|
||||
docker build -t takeoutsaas-adminapi:latest -f src/Api/TakeoutSaaS.AdminApi/Dockerfile .
|
||||
docker buildx build \
|
||||
--build-context nuget-cache=/opt/nuget-cache/packages \
|
||||
-t takeoutsaas-adminapi:latest \
|
||||
-f src/Api/TakeoutSaaS.AdminApi/Dockerfile .
|
||||
|
||||
- name: Deploy container
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user