Skip to content

Commit 224742c

Browse files
committed
switch to compose v2
1 parent 3ae222d commit 224742c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

action.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ runs:
7676
id: run
7777
run: |
7878
export COMPOSE_PROJECT_NAME=authentik
79-
docker-compose pull -q
80-
docker-compose up -d
79+
docker compose pull -q
80+
docker compose up -d
8181
8282
server_container=$(docker ps -f label=com.docker.compose.project=authentik -f label=com.docker.compose.service=server --format "{{.ID}}")
8383
worker_container=$(docker ps -f label=com.docker.compose.project=authentik -f label=com.docker.compose.service=worker --format "{{.ID}}")
@@ -87,4 +87,4 @@ runs:
8787
if [ "${{ inputs.wait }}" = "true" ]; then
8888
timeout 600 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' http://localhost:9000/api/v3/root/config/)" != "200" ]]; do sleep 5; done' || false
8989
fi
90-
docker-compose logs
90+
docker compose logs

0 commit comments

Comments
 (0)