Skip to content

Commit 44c96d7

Browse files
Vijaypunugubatimbwhite
authored andcommitted
FABCJ-258 Add latest image tag in AZP pipeline
Added the latest image tag to javaenv image while publishing image to nexus. Signed-off-by: vijaypunugubati <[email protected]>
1 parent e1d53bf commit 44c96d7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ci/azure-pipelines.yml

+2
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,10 @@ stages:
137137
echo "Logged in to docker registry"
138138
# tag javaenv image to $PUSH_VERSION
139139
docker tag hyperledger/fabric-javaenv ${DOCKER_REGISTRY_URL}/fabric-javaenv:amd64-${MAPPED_VERSION}-stable
140+
docker tag hyperledger/fabric-javaenv ${DOCKER_REGISTRY_URL}/fabric-javaenv:amd64-latest
140141
# push javaenv to nexus repository
141142
docker push ${DOCKER_REGISTRY_URL}/fabric-javaenv:amd64-${MAPPED_VERSION}-stable
143+
docker push ${DOCKER_REGISTRY_URL}/fabric-javaenv:amd64-latest
142144
env:
143145
DOCKER_REGISTRY_USERNAME: $(nexus-user)
144146
DOCKER_REGISTRY_PASSWORD: $(nexus-password)

0 commit comments

Comments
 (0)