Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 64bf5be

Browse files
committedOct 16, 2023
Update CI to use docker-compose v2
1 parent 624bde6 commit 64bf5be

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed
 

‎.github/workflows/ci.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
run: |
3939
cp .env.sample .env
4040
mkdir -p ${DOCSRS_PREFIX}/public-html
41-
docker-compose up -d db
41+
docker compose up -d db
4242
# Give the database enough time to start up
4343
sleep 5
4444
# Make sure the database is actually working
@@ -59,7 +59,7 @@ jobs:
5959
-- --all-targets --all-features
6060
6161
- name: Clean up the database
62-
run: docker-compose down --volumes
62+
run: docker compose down --volumes
6363

6464
build:
6565
runs-on: ubuntu-latest
@@ -108,7 +108,7 @@ jobs:
108108
run: |
109109
cp .env.sample .env
110110
mkdir -p ${DOCSRS_PREFIX}/public-html
111-
docker-compose up -d db s3
111+
docker compose up -d db s3
112112
# Give the database enough time to start up
113113
sleep 5
114114
# Make sure the database is actually working
@@ -124,7 +124,7 @@ jobs:
124124
done
125125
126126
- name: Clean up the database
127-
run: docker-compose down --volumes
127+
run: docker compose down --volumes
128128

129129
build_tests:
130130
runs-on: ubuntu-latest
@@ -143,7 +143,7 @@ jobs:
143143
run: |
144144
cp .env.sample .env
145145
mkdir -p ${DOCSRS_PREFIX}/public-html
146-
docker-compose up -d db s3
146+
docker compose up -d db s3
147147
# Give the database enough time to start up
148148
sleep 5
149149
# Make sure the database is actually working
@@ -161,7 +161,7 @@ jobs:
161161
done
162162
163163
- name: Clean up the database
164-
run: docker-compose down --volumes
164+
run: docker compose down --volumes
165165

166166
fmt:
167167
name: Rustfmt

0 commit comments

Comments
 (0)
Please sign in to comment.