Skip to content

Commit

Permalink
Fix: only build docker images with the local CDK for connectors (#24259)
Browse files Browse the repository at this point in the history
  • Loading branch information
clnoll committed Mar 20, 2023
1 parent deadeca commit fbe4ecc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion buildSrc/src/main/groovy/airbyte-docker.gradle
Expand Up @@ -71,7 +71,8 @@ abstract class AirbyteDockerTask extends DefaultTask {
def dockerTask() {
if (
project.hasProperty('connectorAcceptanceTest.useLocalCdk') &&
project.properties["connectorAcceptanceTest.useLocalCdk"]
project.properties["connectorAcceptanceTest.useLocalCdk"] &&
project.parent.project.name.equals("connectors")
) {
def scriptPath = Paths.get(rootDir.absolutePath, 'airbyte-integrations/scripts/build-connector-image-with-local-cdk.sh').toString()
buildDockerfileWithLocalCdk(scriptPath, dockerfileName)
Expand Down

0 comments on commit fbe4ecc

Please sign in to comment.