Skip to content

Commit fbb6bd8

Browse files
authored
added automatic shutdown
1 parent d436da5 commit fbb6bd8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/image_builder.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,10 @@ aws ecr get-login-password --region "$REGION" | docker login --username AWS --pa
165165
docker push "\$IMAGE_URI"
166166
167167
echo "Docker maybe finished...?"
168+
echo "Shutting down..."
169+
170+
shutdown -h now
171+
168172
EOF
169173
)
170174

0 commit comments

Comments
 (0)