Skip to content

Commit c648fa5

Browse files
committed
fix: docker-compose for build the image
1 parent 2dc9e4e commit c648fa5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/deploy-pre.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
- name: Checkout Code
1313
uses: actions/checkout@v4
1414

15-
# Step 2: Build the Docker image
16-
- name: Build Docker Image
15+
# Step 2: Build the Docker image using Docker Compose
16+
- name: Build Docker Image with Docker Compose
1717
run: |
18-
docker build -t api-gateway:latest -f ./docker/Dockerfile ./docker
18+
docker compose -f ./docker/docker-compose.yml build
1919
2020
# Step 3: Save and compress the Docker image
2121
- name: Save and Compress Docker Image

0 commit comments

Comments
 (0)