Skip to content

Commit

Permalink
CI: Update to Docker Compose V2
Browse files Browse the repository at this point in the history
Apparently, GHA phased out the Docker Compose v1 CLI.
  • Loading branch information
amotl committed Aug 5, 2024
1 parent 17d5c4e commit 945833f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/oci-full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ jobs:
if [[ -f release/oci/full.test.yml ]]; then
export DOCKER_BUILDKIT=1
export COMPOSE_DOCKER_CLI_BUILD=1
docker-compose --file release/oci/full.test.yml build
docker-compose --file release/oci/full.test.yml run sut
docker compose --file release/oci/full.test.yml build
docker compose --file release/oci/full.test.yml run sut
fi
oci:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/oci-standard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ jobs:
if [[ -f release/oci/standard.test.yml ]]; then
export DOCKER_BUILDKIT=1
export COMPOSE_DOCKER_CLI_BUILD=1
docker-compose --file release/oci/standard.test.yml build
docker-compose --file release/oci/standard.test.yml run sut
docker compose --file release/oci/standard.test.yml build
docker compose --file release/oci/standard.test.yml run sut
fi
oci:
Expand Down
10 changes: 6 additions & 4 deletions release/oci/full.test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
sut:
build: ../..
dockerfile: release/oci/full.Dockerfile
command: selftest.sh full
services:
sut:
build:
context: ../..
dockerfile: release/oci/full.Dockerfile
command: selftest.sh full
10 changes: 6 additions & 4 deletions release/oci/standard.test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
sut:
build: ../..
dockerfile: release/oci/standard.Dockerfile
command: selftest.sh standard
services:
sut:
build:
context: ../..
dockerfile: release/oci/standard.Dockerfile
command: selftest.sh standard

0 comments on commit 945833f

Please sign in to comment.