Skip to content

Commit fd8c048

Browse files
authored
do not run docker build when tests are skipped (#875)
Signed-off-by: Olivier Lamy <[email protected]>
1 parent 293550c commit fd8c048

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pipeline-maven/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,7 @@
506506
<artifactId>docker-maven-plugin</artifactId>
507507
<configuration>
508508
<imagePullPolicy>IfNotPresent</imagePullPolicy>
509+
<skip>${skipTests}</skip>
509510
</configuration>
510511
<executions>
511512
<execution>
@@ -606,6 +607,7 @@
606607
</goals>
607608
<phase>prepare-package</phase>
608609
<configuration>
610+
<skip>${skipTests}</skip>
609611
<executable>docker</executable>
610612
<arguments>
611613
<argument>rmi</argument>

0 commit comments

Comments
 (0)