postal/.semaphore/build
2017-09-11 23:12:26 -04:00

14 lines
320 B
Bash
Executable File

#!/bin/bash
## Get Postal Version
git clone https://github.com/atech/postal src
cd src
POSTAL_VER=$(git rev-parse --short HEAD)
cd ..
## Build Dockerfile
docker build --build-arg POSTAL_VER=${POSTAL_VER} -t alinuxninja/postal:latest -t alinuxninja/postal:${POSTAL_VER} .
## Docker push
docker push alinuxninja/postal