Skip to content

Commit e29c713

Browse files
committed
Install Docker Compose explicitly
1 parent 6186e92 commit e29c713

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,17 @@ jobs:
5656
with:
5757
name: maven-build-artifacts
5858
path: target/
59+
- name: Set up Docker Compose
60+
run: sudo apt-get install docker-compose
5961
- name: Run Kubo ${{matrix.kubo}} IPFS daemon
60-
uses: hoverkraft-tech/compose-action@v2.4.3
6162
env:
6263
KUBO_TAG: ${{matrix.kubo}}
64+
run: docker compose up -d
6365
- name: Build & run tests with Maven
6466
run: ./mvnw -V --no-transfer-progress -Dmaven.compiler.skip=true verify
65-
- if: ${{always()}}
66-
name: Kubo logs
67+
- name: Kubo logs
68+
if: ${{always()}}
6769
run: docker compose logs
70+
- name: Shut down Docker Compose
71+
if: always()
72+
run: docker compose down

docker-compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
version: '2'
21
services:
32
ipfs-daemon:
43
image: ipfs/kubo:${KUBO_TAG-release} # default is latest release, see https://github.com/ipfs/kubo#docker

0 commit comments

Comments
 (0)