parent
a054238cd8
commit
e72740fb05
@ -1,7 +0,0 @@
|
|||||||
language: generic
|
|
||||||
services:
|
|
||||||
- docker
|
|
||||||
install:
|
|
||||||
- docker build .
|
|
||||||
after_script:
|
|
||||||
- "curl -X POST https://hooks.microbadger.com/images/qmcgaw/stackedit/Sb9uic5BXTlu5QaQPtBP0V1bm1E="
|
|
@ -1,9 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# see http://label-schema.org/rc1
|
|
||||||
# https://docs.docker.com/docker-cloud/builds/advanced/#override-build-test-or-push-commands
|
|
||||||
# https://docs.docker.com/docker-cloud/builds/advanced/#custom-build-phase-hooks
|
|
||||||
|
|
||||||
docker build --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
|
docker build --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
|
||||||
--build-arg VCS_REF=`git rev-parse --short HEAD` \
|
--build-arg VCS_REF=`git rev-parse --short HEAD` \
|
||||||
|
--build-arg BINCOMPRESS= \
|
||||||
-t $IMAGE_NAME .
|
-t $IMAGE_NAME .
|
||||||
|
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
curl -X POST https://hooks.microbadger.com/images/qmcgaw/${DOCKER_REPO}/Sb9uic5BXTlu5QaQPtBP0V1bm1E= || exit 0
|
Loading…
Reference in new issue