Skip to content

Commit aa8ded8

Browse files
committed
fix: Prevent dockerPreRelease from updating latest tag
Embed the version tag directly in the image name instead of using a separate tags section, so only the versioned image is pushed.
1 parent 7f64483 commit aa8ded8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

server/pom.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -872,10 +872,7 @@
872872
</platforms>
873873
</from>
874874
<to>
875-
<image>${pathling.fhirServerDockerRepo}</image>
876-
<tags>
877-
<tag>${project.version}</tag>
878-
</tags>
875+
<image>${pathling.fhirServerDockerRepo}:${project.version}</image>
879876
</to>
880877
<container>
881878
<jvmFlags>

0 commit comments

Comments
 (0)