update gitlab-ci

This commit is contained in:
ILoveYaToo 2020-04-12 23:36:58 -04:00
parent e68b6dc54d
commit 5269f7a9a3

View File

@ -1,13 +0,0 @@
#!/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