Skip to content

Commit 2241f2a

Browse files
committed
fix: docker context issues resolved
1 parent 2a1c301 commit 2241f2a

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,14 @@ jobs:
1717
- name: Log in to GitHub Container Registry
1818
uses: docker/login-action@v2
1919
with:
20-
registry: ${{ env.REGISTRY }}
20+
registry: ghcr.io
2121
username: ${{ github.repository_owner }}
2222
password: ${{ secrets.GITHUB_TOKEN }}
2323

24-
- name: Set up Docker Buildx
24+
- name: Set up Docker Compose
2525
uses: docker/setup-buildx-action@v2
2626

27-
- name: Build and push Docker image
28-
uses: docker/build-push-action@v2
29-
with:
30-
context: ./docker/
31-
file: Dockerfile
32-
push: true
33-
tags: ghcr.io/p-society/gc-broadcast:latest
27+
- name: Build and push Docker image using docker-compose
28+
run: |
29+
docker-compose -f docker-compose.yml build
30+
docker-compose -f docker-compose.yml push

0 commit comments

Comments
 (0)