Skip to content

Commit 2933500

Browse files
committed
chore: skip Docker plugin on release
1 parent f84acfb commit 2933500

File tree

3 files changed

+16
-9
lines changed

3 files changed

+16
-9
lines changed

graphql-jpa-query-example-merge/pom.xml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
<properties>
1515
<maven.deploy.skip>true</maven.deploy.skip>
16+
<skipDocker>${maven.deploy.skip}</skipDocker>
1617
</properties>
1718

1819
<dependencies>
@@ -113,18 +114,21 @@
113114
<include>${project.build.finalName}.jar</include>
114115
</resource>
115116
</resources>
117+
118+
<skipDocker>${skipDocker}</skipDocker>
116119

117120
<!-- optionally overwrite tags every time image is built with docker:build -->
118121
<forceTags>true</forceTags>
119-
<imageTags>
120-
<imageTag>${project.version}</imageTag>
121-
<imageTag>latest</imageTag>
122-
</imageTags>
122+
<imageTags>
123+
<imageTag>${project.version}</imageTag>
124+
<imageTag>latest</imageTag>
125+
</imageTags>
123126

124127
</configuration>
125128

126129
</plugin>
127130

128131
</plugins>
129132
</build>
133+
130134
</project>

graphql-jpa-query-example/pom.xml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
<properties>
1515
<maven.deploy.skip>true</maven.deploy.skip>
16+
<skipDocker>${maven.deploy.skip}</skipDocker>
1617
</properties>
1718

1819
<dependencies>
@@ -94,12 +95,14 @@
9495
</resource>
9596
</resources>
9697

98+
<skipDocker>${skipDocker}</skipDocker>
99+
97100
<!-- optionally overwrite tags every time image is built with docker:build -->
98101
<forceTags>true</forceTags>
99-
<imageTags>
100-
<imageTag>${project.version}</imageTag>
101-
<imageTag>latest</imageTag>
102-
</imageTags>
102+
<imageTags>
103+
<imageTag>${project.version}</imageTag>
104+
<imageTag>latest</imageTag>
105+
</imageTags>
103106

104107
</configuration>
105108

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199
<tagNameFormat>@{version}</tagNameFormat>
200200
<autoVersionSubmodules>true</autoVersionSubmodules>
201201
<releaseProfiles>releases</releaseProfiles>
202-
<arguments>-DskipTests</arguments>
202+
<arguments>-DskipTests -DskipDocker</arguments>
203203
<mavenExecutorId>forked-path</mavenExecutorId>
204204
<preparationGoals>clean git-changelog:git-changelog scm:checkin -DpushChanges=false -Dincludes=CHANGELOG.md -Dmessage="[maven-release-plugin] Update CHANGELOG.md" verify</preparationGoals>
205205
<completionGoals>git-changelog:git-changelog scm:checkin -DpushChanges=false -Dincludes=CHANGELOG.md -Dmessage="[maven-release-plugin] Update CHANGELOG.md"</completionGoals>

0 commit comments

Comments
 (0)