Skip to content

Commit

Permalink
Use Docker Compose version 2
Browse files Browse the repository at this point in the history
The version 1 is no more available on GitHub workflows
  • Loading branch information
sbrunner committed Aug 5, 2024
1 parent 0d39c42 commit d24ad4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c2cciutils/scripts/docker_logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def main() -> None:
"""Print the list of running docker containers and their logs formatted for GitHub CI."""
if os.path.exists("docker-compose.yaml"):
_print("::group::Docker Compose ps")
subprocess.run(["docker-compose", "ps"], check=False)
subprocess.run(["docker", "compose", "ps"], check=False)
_print("::endgroup::")

_print("::group::Docker ps")
Expand Down

0 comments on commit d24ad4a

Please sign in to comment.