[CALCITE-6359] Update GitHub Actions workflows to use docker compose v2
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 059a2b3..0ff5ab0 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -457,7 +457,7 @@
working-directory: ./druid-dataset
run: |
chmod -R 777 storage
- docker-compose up -d
+ docker compose up -d
- name: 'Wait Druid nodes to startup'
run: |
until docker logs coordinator | grep "Successfully started lifecycle \[module\]"; do sleep 1s; done
diff --git a/.github/workflows/publish-non-release-website-updates.yml b/.github/workflows/publish-non-release-website-updates.yml
index f7a9457..b9e0601 100644
--- a/.github/workflows/publish-non-release-website-updates.yml
+++ b/.github/workflows/publish-non-release-website-updates.yml
@@ -56,7 +56,7 @@
- name: Build site
working-directory: site
run: |
- docker-compose run -e JEKYLL_UID=$(id -u) -e JEKYLL_GID=$(id -g) build-site
+ docker compose run -e JEKYLL_UID=$(id -u) -e JEKYLL_GID=$(id -g) build-site
- name: Push site
working-directory: site/target
env:
diff --git a/.github/workflows/publish-website-on-release.yml b/.github/workflows/publish-website-on-release.yml
index 416edbc..734fe18 100644
--- a/.github/workflows/publish-website-on-release.yml
+++ b/.github/workflows/publish-website-on-release.yml
@@ -44,11 +44,11 @@
- name: Build site
working-directory: site
run: |
- docker-compose run -e JEKYLL_UID=$(id -u) -e JEKYLL_GID=$(id -g) build-site
+ docker compose run -e JEKYLL_UID=$(id -u) -e JEKYLL_GID=$(id -g) build-site
- name: Build javadoc
working-directory: site
run: |
- docker-compose run generate-javadoc
+ docker compose run generate-javadoc
- name: Push site
working-directory: site/target
env: