Skip to content

Commit

Permalink
Update push
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonsy13 authored Sep 28, 2023
1 parent 8b624a7 commit dffdb11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom/mongo/buildscripts/push
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if [ ! -z "${DNAME}" ] && [ ! -z "${DPASS}" ];
then
docker login -u "${DNAME}" -p "${DPASS}";
#Push to docker hub repository with latest tag
docker buildx build . -f Dockerfile --progress plain --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/mongo:4.2.8
docker buildx build . -f Dockerfile --progress plain --push --no-cache --platform linux/amd64,linux/arm64 --tag litmuschaos/mongo:6
else
echo "No docker credentials provided. Skip uploading litmuschaos/mongo:4.2.8 to docker hub";
echo "No docker credentials provided. Skip uploading litmuschaos/mongo:6 to docker hub";
fi;

0 comments on commit dffdb11

Please sign in to comment.