Skip to content

Commit 76f1444

Browse files
committed
Replacing docker-compose with docker compose
1 parent 0a273f1 commit 76f1444

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build-and-push.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ jobs:
4040

4141
- name: Build the Docker image using docker-compose
4242
run: |
43-
docker-compose -f docker-compose.yaml build
43+
docker compose -f docker-compose.yaml build
4444
- name: Push the Docker image to GitHub Container Registry
4545
run: |
46-
docker-compose -f docker-compose.yaml push on_demand
46+
docker compose -f docker-compose.yaml push on_demand
4747
- name: Verify the image
4848
run: |
49-
docker pull ${{ env.REGISTRY }}/${{ env.REPO_NAME_LOWER }}/${{ env.IMAGE_NAME }}:latest
49+
docker pull ${{ env.REGISTRY }}/${{ env.REPO_NAME_LOWER }}/${{ env.IMAGE_NAME }}:latest

0 commit comments

Comments
 (0)