Browse Source

docs: Update docker URL

Update the URL to the Gitblit docker image to point to the
`gitblit/gitblit` repository, which I now consider the official
Docker repository.
Also link to the Docker images on the main page.
tags/v1.9.2
Florian Zschocke 2 years ago
parent
commit
5b0ce83638
2 changed files with 7 additions and 3 deletions
  1. 6
    3
      build.xml
  2. 1
    0
      src/site/siteindex.mkd

+ 6
- 3
build.xml View File

@@ -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" />

+ 1
- 0
src/site/siteindex.mkd View File

@@ -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;">

Loading…
Cancel
Save