You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
386 B
10 lines
386 B
6 years ago
|
#!/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"` \
|
||
|
--build-arg VCS_REF=`git rev-parse --short HEAD` \
|
||
|
-t $IMAGE_NAME .
|