Skip to content

Commit 84e0470

Browse files
committed
Fixed docker script
1 parent f592bd0 commit 84e0470

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

scripts/push_docker_images.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,18 @@ if [[ "$repos" == "[]" ]]; then
2424
echo -e "\nFINISHED: $message."
2525

2626
message="Tagging images..."
27-
docker image tag busybox "$DOCKER_SERVER/busybox"
28-
docker image tag nginxdemos/hello "$DOCKER_SERVER/hello"
27+
docker image tag busybox "$DOCKER_FQDN/busybox"
28+
docker image tag nginxdemos/hello "$DOCKER_FQDN/hello"
2929
echo -e "\nFINISHED: $message."
3030

3131
message="Listing images..."
32-
docker image ls "$DOCKER_SERVER/busybox"
33-
docker image ls "$DOCKER_SERVER/hello"
32+
docker image ls "$DOCKER_FQDN/busybox"
33+
docker image ls "$DOCKER_FQDN/hello"
3434
echo -e "\nFINISHED: $message."
3535

3636
message="Pushing images..."
37-
docker push "$DOCKER_SERVER/busybox"
38-
docker push "$DOCKER_SERVER/hello"
37+
docker push "$DOCKER_FQDN/busybox"
38+
docker push "$DOCKER_FQDN/hello"
3939
echo -e "\nFINISHED: $message."
4040

4141
echo -e "\nFINISHED: $main_message."

0 commit comments

Comments
 (0)