update gitlab-ci
This commit is contained in:
parent
e68b6dc54d
commit
5269f7a9a3
|
@ -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
|
|
Loading…
Reference in New Issue
Block a user