Skip to content

Commit 7290453

Browse files
csantanaprJason Peterson
authored andcommitted
update jdk x86_64-ubuntu-jdk8u181-b13_openj9-0.9.0 and push latest hash (#77)
1 parent fe47747 commit 7290453

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

core/java8/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# limitations under the License.
1616
#
1717

18-
FROM adoptopenjdk/openjdk8-openj9:jdk8u162-b12_openj9-0.8.0
18+
FROM adoptopenjdk/openjdk8-openj9:x86_64-ubuntu-jdk8u181-b13_openj9-0.9.0
1919

2020
RUN rm -rf /var/lib/apt/lists/* && apt-get clean && apt-get update \
2121
&& apt-get install -y --no-install-recommends locales \

tools/travis/publish.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,15 @@ core:${RUNTIME}:distDocker \
4646
-PdockerRegistry=docker.io \
4747
-PdockerImagePrefix=${IMAGE_PREFIX} \
4848
-PdockerImageTag=${IMAGE_TAG}
49+
50+
# if doing latest also push a tag with the hash commit
51+
if [ ${IMAGE_TAG} == "latest" ]; then
52+
SHORT_COMMIT=`git rev-parse --short HEAD`
53+
TERM=dumb ./gradlew \
54+
core:${RUNTIME}:distDocker \
55+
-PdockerRegistry=docker.io \
56+
-PdockerImagePrefix=${IMAGE_PREFIX} \
57+
-PdockerImageTag=${SHORT_COMMIT}
58+
fi
59+
4960
fi

0 commit comments

Comments
 (0)