diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index af35b7ca..25fa799c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,10 +28,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up JDK 11 - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: + distribution: 'zulu' java-version: 11 - name: Get java-version id: get-version diff --git a/src/docker/startup.ps1 b/src/docker/startup.ps1 index 210452c2..fe910228 100644 --- a/src/docker/startup.ps1 +++ b/src/docker/startup.ps1 @@ -2,7 +2,7 @@ $ErrorActionPreference='Stop' cd $PSScriptRoot Write-Host "Shutting down Docker Compose orchestration..." -docker-compose down +docker compose down Write-Host "Deleting prior Cosmos DB connectors..." rm -rf "$PSScriptRoot/connectors" @@ -26,4 +26,4 @@ Write-Host "Building Cosmos DB Kafka Connect Docker image" docker build . -t cosmosdb-kafka-connect:latest Write-Host "Starting Docker Compose..." -docker-compose up -d +docker compose up -d diff --git a/src/docker/startup.sh b/src/docker/startup.sh index 6fe0220e..c90d9982 100755 --- a/src/docker/startup.sh +++ b/src/docker/startup.sh @@ -1,6 +1,6 @@ #!/bin/bash echo "Shutting down Docker Compose orchestration..." -docker-compose down +docker compose down echo "Deleting prior Cosmos DB connectors..." rm -rf connectors @@ -24,4 +24,4 @@ echo "Building Cosmos DB Kafka Connect Docker image" docker build . -t cosmosdb-kafka-connect:latest echo "Starting Docker Compose..." -docker-compose up -d +docker compose up -d