Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Commit 57d47f8

Browse files
pushing to docker
1 parent f74187e commit 57d47f8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,9 @@ else
3737
docker tag $LOCAL $MAJOR_MINOR_PATCH_PRE
3838
fi
3939

40+
if [[ -n $DOCKER_USER ]]; then
41+
echo "${DOCKER_PASS}" | docker login --username "${DOCKER_USER}" --password-stdin
42+
docker push $REMOTE_IMAGE
43+
fi
44+
4045
docker images --filter=reference="${REMOTE_IMAGE}"

0 commit comments

Comments
 (0)