Commit ce57db48 authored by Benjamin Plusquellec's avatar Benjamin Plusquellec Committed by Pierre Smeyers
Browse files

fix: replace image tag when registry has a port

parent 1d121c49
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -206,7 +206,7 @@ mvn-deploy-release:
          log_warn "[semantic-release] no new version to release: skip"
          exit 0
        else
          MAVEN_JIB_RELEASE_IMAGE=$(echo "$MAVEN_JIB_RELEASE_IMAGE" | sed "s/\(:.*\)\{0,1\}$/:$SEMREL_INFO_NEXT_VERSION/")
          MAVEN_JIB_RELEASE_IMAGE="${MAVEN_JIB_RELEASE_IMAGE%:*}:$SEMREL_INFO_NEXT_VERSION"
          log_info "[semantic-release] new Image tag is set: $MAVEN_JIB_RELEASE_IMAGE"
        fi
      fi