Skip to content

Commit

Permalink
Use docker compose instead of docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
idrissneumann committed Sep 11, 2024
1 parent 007979e commit f461286
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ api_x86:
- .gitlab-ci.yml
- imalive.yml
- api/*
- ci/docker-deliver.sh
- ci/*
- docker-compose-build-x86.yml
- Dockerfile
- VERSION
Expand Down
2 changes: 1 addition & 1 deletion ci/docker-deliver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ docker_compose_file="docker-compose.yml"

echo "${DOCKER_ACCESS_TOKEN}" | docker login --username "${DOCKER_USERNAME}" --password-stdin

COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose -f "${docker_compose_file}" build "${IMAGE}"
COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker compose -f "${docker_compose_file}" build "${IMAGE}"

[[ $ARCH == "x86" ]] && tag_and_push "latest" "${IMAGE}"
[[ $ARCH == "x86" ]] && tag_and_push "${VERSION}" "${IMAGE}"
Expand Down
2 changes: 1 addition & 1 deletion ci/test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

cp .env.example .env
docker-compose -f docker-compose-local.yml up --build --abort-on-container-exit imalive-tests
docker compose -f docker-compose-local.yml up --build --abort-on-container-exit imalive-tests

0 comments on commit f461286

Please sign in to comment.