war-news-aggregator/stop-containers.sh

8 lines
249 B
Bash
Raw Normal View History

2022-05-22 18:52:12 +00:00
#!/bin/bash
LAST_COMMIT_LONG=$(git ls-remote git@github.com:lucic71/War-News-Aggregator.git HEAD | awk '{ print $1 }')
LAST_COMMIT=$(git rev-parse --short=8 $LAST_COMMIT_LONG)
TAG=${LAST_COMMIT} docker-compose down
pkill -f ./update-containers.sh