summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build.xml9
-rw-r--r--src/site/siteindex.mkd1
2 files changed, 7 insertions, 3 deletions
diff --git a/build.xml b/build.xml
index 6b4e412d..02c9476d 100644
--- a/build.xml
+++ b/build.xml
@@ -71,6 +71,7 @@
<!-- Download links -->
<property name="gc.url" value="https://github.com/${gh.org}/gitblit/releases/download/" />
+ <property name="docker.url" value="https://hub.docker.com/r/gitblit/gitblit" />
<!-- Report Java version -->
<echo>JDK version: ${ant.java.version}</echo>
@@ -602,7 +603,7 @@
<link name="Gitblit GO (Linux/OSX)" src="${gc.url}${currentRelease.tag}/gitblit-${project.releaseVersion}.tar.gz" />
<link name="Gitblit WAR" src="${gc.url}${currentRelease.tag}/gitblit-${project.releaseVersion}.war" />
<divider />
- <link name="Gitblit GO (Docker)" src="https://registry.hub.docker.com/u/jmoger/gitblit/" />
+ <link name="Gitblit GO (Docker)" src="${docker.url}" />
<divider />
<link name="Plugins Registry" src="http://plugins.gitblit.com" />
<divider />
@@ -637,9 +638,10 @@
</menu>
<divider />
</structure>
-
+
<replace token="%GCURL%" value="${gc.url}${currentRelease.tag}/" />
-
+ <replace token="%DOCKERURL%" value="${docker.url}" />
+
<properties token="%PROPERTIES%" file="${project.distrib.dir}/data/defaults.properties" />
<regex searchPattern="\b(commit)(\s*[#]?|-){0,1}([0-9a-fA-F]{5,})\b" replacePattern="&lt;a href='https://github.com/gitblit/gitblit/commit/$3'&gt;commit $3&lt;/a&gt;" />
@@ -1042,6 +1044,7 @@ GB_RELEASE_TAG=${project.tag}
</structure>
<replace token="%GCURL%" value="${gc.url}${currentRelease.tag}/" />
+ <replace token="%DOCKERURL%" value="${docker.url}" />
<properties token="%PROPERTIES%" file="${project.distrib.dir}/data/defaults.properties" />
diff --git a/src/site/siteindex.mkd b/src/site/siteindex.mkd
index e3afe9b2..fc51cecf 100644
--- a/src/site/siteindex.mkd
+++ b/src/site/siteindex.mkd
@@ -15,6 +15,7 @@
<div style="padding:5px;"><a style="width:175px;text-decoration:none;" class="btn btn-success" href="%GCURL%gitblit-${project.releaseVersion}.tar.gz">Download Gitblit GO (Linux/OSX)</a></div>
<div style="padding:5px;"><a style="width:175px;text-decoration:none;" class="btn btn-danger" href="%GCURL%gitblit-${project.releaseVersion}.war">Download Gitblit WAR</a></div>
<div style="padding:5px;"><a style="width:175px;text-decoration:none;" class="btn btn-primary" href="%GCURL%manager-${project.releaseVersion}.zip">Download Gitblit Manager</a></div>
+<div style="padding:5px;"><a style="width:175px;text-decoration:none;" class="btn btn-info" href="%DOCKERURL%">Gitblit GO Docker image</a></div>
</div>
<div data-manifest="http://1c57d83a4c5f3a21ec25c050d4c5e37b.app.jelastic.com/xssu/cross/download/RDYYHABkAFJbUVlMMVU7RUtDARgATExFCEBuGS4jdQJKRUsEDwIBQmNTTEBI" data-width="280" data-theme="flat-blue" data-text="Get it hosted now!" data-tx-empty="Type your email and click the button" data-tx-invalid-email="Invalid email, please check the spelling" data-tx-error="An error has occurred, please try again later" data-tx-success="Check your email" class="je-app" ></div>
<div style="padding-top:5px;">