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 8, 2024
1 parent b7b8010 commit d0d98e0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-oci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ jobs:
if [[ -f release/oci/test.yml ]]; then
export DOCKER_BUILDKIT=1
export COMPOSE_DOCKER_CLI_BUILD=1
docker-compose --file release/oci/test.yml build
docker-compose --file release/oci/test.yml run sut
docker compose --file release/oci/test.yml build
docker compose --file release/oci/test.yml run sut
fi
build-and-publish:
Expand Down
10 changes: 6 additions & 4 deletions release/oci/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
sut:
build: ../..
dockerfile: release/oci/Dockerfile
command: selftest.sh
services:
sut:
build:
context: ../..
dockerfile: release/oci/Dockerfile
command: selftest.sh

0 comments on commit d0d98e0

Please sign in to comment.