add docker-registry
Some checks failed
Test and Publish Templates / test-and-publish (push) Failing after 5s
Some checks failed
Test and Publish Templates / test-and-publish (push) Failing after 5s
This commit is contained in:
11
docker-registry/stop.sh
Executable file
11
docker-registry/stop.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
source "${AGENT_PATH}/common.sh"
|
||||
_check_required_env_vars
|
||||
|
||||
# STOP SCRIPT
|
||||
# The stop script is required for all templates.
|
||||
# It is used to stop the service on the server.
|
||||
|
||||
_stop_container "$CONTAINER_NAME" || _die "Failed to stop container ${CONTAINER_NAME}"
|
||||
|
||||
echo "Container ${CONTAINER_NAME} stopped"
|
||||
Reference in New Issue
Block a user