Compare commits

...

2 Commits

Author SHA1 Message Date
Sonatype 0f56dcf3dc Update Repository Manager to 3.29.2-02. 2021-01-07 12:33:55 +00:00
Brad Beck b5bc42cc35 [NEXUS-26281] docker push —all-tags (#127) 2021-01-05 10:37:29 -06:00
5 changed files with 17 additions and 17 deletions
+4 -4
View File
@@ -17,8 +17,8 @@ FROM registry.access.redhat.com/ubi8/ubi
LABEL name="Nexus Repository Manager" \
maintainer="Sonatype <support@sonatype.com>" \
vendor=Sonatype \
version="3.29.1-01" \
release="3.29.1" \
version="3.29.2-02" \
release="3.29.2" \
url="https://sonatype.com" \
summary="The Nexus Repository Manager server \
with universal support for popular component formats." \
@@ -36,9 +36,9 @@ LABEL name="Nexus Repository Manager" \
io.openshift.expose-services="8081:8081" \
io.openshift.tags="Sonatype,Nexus,Repository Manager"
ARG NEXUS_VERSION=3.29.1-01
ARG NEXUS_VERSION=3.29.2-02
ARG NEXUS_DOWNLOAD_URL=https://download.sonatype.com/nexus/3/nexus-${NEXUS_VERSION}-unix.tar.gz
ARG NEXUS_DOWNLOAD_SHA256_HASH=625337c820c32814bf6408c5bb00f5daac5d7dc0f88377d28c56630083a8b33b
ARG NEXUS_DOWNLOAD_SHA256_HASH=bc7cbb577db195868f25d73ca22de3f7cc1e39d7384794bae03c28f5823ca3a7
# configure nexus runtime
ENV SONATYPE_DIR=/opt/sonatype
+4 -4
View File
@@ -17,8 +17,8 @@ FROM centos:centos7
LABEL name="Nexus Repository Manager" \
maintainer="Sonatype <support@sonatype.com>" \
vendor=Sonatype \
version="3.29.1-01" \
release="3.29.1" \
version="3.29.2-02" \
release="3.29.2" \
url="https://sonatype.com" \
summary="The Nexus Repository Manager server \
with universal support for popular component formats." \
@@ -36,9 +36,9 @@ LABEL name="Nexus Repository Manager" \
io.openshift.expose-services="8081:8081" \
io.openshift.tags="Sonatype,Nexus,Repository Manager"
ARG NEXUS_VERSION=3.29.1-01
ARG NEXUS_VERSION=3.29.2-02
ARG NEXUS_DOWNLOAD_URL=https://download.sonatype.com/nexus/3/nexus-${NEXUS_VERSION}-unix.tar.gz
ARG NEXUS_DOWNLOAD_SHA256_HASH=625337c820c32814bf6408c5bb00f5daac5d7dc0f88377d28c56630083a8b33b
ARG NEXUS_DOWNLOAD_SHA256_HASH=bc7cbb577db195868f25d73ca22de3f7cc1e39d7384794bae03c28f5823ca3a7
# configure nexus runtime
ENV SONATYPE_DIR=/opt/sonatype
+4 -4
View File
@@ -17,8 +17,8 @@ FROM registry.access.redhat.com/rhel7/rhel
LABEL name="Nexus Repository Manager" \
maintainer="Sonatype <support@sonatype.com>" \
vendor=Sonatype \
version="3.29.1-01" \
release="3.29.1" \
version="3.29.2-02" \
release="3.29.2" \
url="https://sonatype.com" \
summary="The Nexus Repository Manager server \
with universal support for popular component formats." \
@@ -36,9 +36,9 @@ LABEL name="Nexus Repository Manager" \
io.openshift.expose-services="8081:8081" \
io.openshift.tags="Sonatype,Nexus,Repository Manager"
ARG NEXUS_VERSION=3.29.1-01
ARG NEXUS_VERSION=3.29.2-02
ARG NEXUS_DOWNLOAD_URL=https://download.sonatype.com/nexus/3/nexus-${NEXUS_VERSION}-unix.tar.gz
ARG NEXUS_DOWNLOAD_SHA256_HASH=625337c820c32814bf6408c5bb00f5daac5d7dc0f88377d28c56630083a8b33b
ARG NEXUS_DOWNLOAD_SHA256_HASH=bc7cbb577db195868f25d73ca22de3f7cc1e39d7384794bae03c28f5823ca3a7
# configure nexus runtime
ENV SONATYPE_DIR=/opt/sonatype
+4 -4
View File
@@ -17,8 +17,8 @@ FROM registry.access.redhat.com/ubi8/ubi
LABEL name="Nexus Repository Manager" \
vendor=Sonatype \
maintainer="Sonatype <support@sonatype.com>" \
version="3.29.1-01" \
release="3.29.1" \
version="3.29.2-02" \
release="3.29.2" \
url="https://sonatype.com" \
summary="The Nexus Repository Manager server \
with universal support for popular component formats." \
@@ -36,9 +36,9 @@ LABEL name="Nexus Repository Manager" \
io.openshift.expose-services="8081:8081" \
io.openshift.tags="Sonatype,Nexus,Repository Manager"
ARG NEXUS_VERSION=3.29.1-01
ARG NEXUS_VERSION=3.29.2-02
ARG NEXUS_DOWNLOAD_URL=https://download.sonatype.com/nexus/3/nexus-${NEXUS_VERSION}-unix.tar.gz
ARG NEXUS_DOWNLOAD_SHA256_HASH=625337c820c32814bf6408c5bb00f5daac5d7dc0f88377d28c56630083a8b33b
ARG NEXUS_DOWNLOAD_SHA256_HASH=bc7cbb577db195868f25d73ca22de3f7cc1e39d7384794bae03c28f5823ca3a7
# configure nexus runtime
ENV SONATYPE_DIR=/opt/sonatype
Vendored
+1 -1
View File
@@ -142,7 +142,7 @@ node('ubuntu-zion') {
OsTools.runSafe(this, """
docker login --username ${env.DOCKERHUB_API_USERNAME} --password ${env.DOCKERHUB_API_PASSWORD}
""")
OsTools.runSafe(this, "docker push ${organization}/${dockerHubRepository}")
OsTools.runSafe(this, "docker push --all-tags ${organization}/${dockerHubRepository}")
response = OsTools.runSafe(this, """
curl -X POST https://hub.docker.com/v2/users/login/ \