7 lines
189 B
Bash
Executable File
7 lines
189 B
Bash
Executable File
#!/bin/bash
|
|
WHEREAMI=$(dirname $0)
|
|
TODAY=$(date +'%Y-%m-%d')
|
|
echo "Today: $TODAY"
|
|
echo "Location: $WHEREAMI"
|
|
docker build -t "mbirth/dovecot:$TODAY" -t "mbirth/dovecot:latest" "$WHEREAMI/"
|