histoiredunpied/docker-build.sh

18 lines
436 B
Bash
Raw Normal View History

2020-04-01 12:10:31 +02:00
#!/bin/bash
# -e Exit immediately if a command exits with a non-zero status.
# -u Treat unset variables as an error when substituting.
set -eu
START=`date +%s`
echo "😎 Start build histoiredunpied"
echo "- build image 🚀"
docker build . -t kosssi/histoiredunpied
2020-05-21 17:13:57 +02:00
docker tag kosssi/histoiredunpied registry.weko.io/histoiredunpied
docker push registry.weko.io/histoiredunpied
2020-04-01 12:10:31 +02:00
END=`date +%s`
echo "✨ Done in $((END-START))s"