This is an automated email from the ASF dual-hosted git repository.

ndipiazza pushed a commit to branch TIKA-4578
in repository https://gitbox.apache.org/repos/asf/tika.git

commit daea4521f14fea1f6e63c399b09bc20dec03d8bc
Author: Nicholas DiPiazza <[email protected]>
AuthorDate: Tue Dec 16 14:33:41 2025 -0600

    TIKA-4578 - Add profiles to enable Docker build for AWS, Azure, and Docker 
Hub
---
 tika-grpc/pom.xml | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/tika-grpc/pom.xml b/tika-grpc/pom.xml
index ff3307b2b..1ad255d69 100644
--- a/tika-grpc/pom.xml
+++ b/tika-grpc/pom.xml
@@ -40,6 +40,42 @@
     <j2objc-annotations.version>3.1</j2objc-annotations.version>
     <skip.docker.build>true</skip.docker.build>
   </properties>
+  
+  <profiles>
+    <profile>
+      <id>enable-docker-build-aws</id>
+      <activation>
+        <property>
+          <name>env.AWS_ACCOUNT_ID</name>
+        </property>
+      </activation>
+      <properties>
+        <skip.docker.build>false</skip.docker.build>
+      </properties>
+    </profile>
+    <profile>
+      <id>enable-docker-build-azure</id>
+      <activation>
+        <property>
+          <name>env.AZURE_REGISTRY_NAME</name>
+        </property>
+      </activation>
+      <properties>
+        <skip.docker.build>false</skip.docker.build>
+      </properties>
+    </profile>
+    <profile>
+      <id>enable-docker-build-dockerhub</id>
+      <activation>
+        <property>
+          <name>env.DOCKER_ID</name>
+        </property>
+      </activation>
+      <properties>
+        <skip.docker.build>false</skip.docker.build>
+      </properties>
+    </profile>
+  </profiles>
 
   <dependencyManagement>
     <dependencies>

Reply via email to