Removed Travis CI in favor of Docker hub build with hooks
This commit is contained in:
14
.travis.yml
14
.travis.yml
@@ -1,14 +0,0 @@
|
||||
sudo: required
|
||||
services:
|
||||
- docker
|
||||
env:
|
||||
global:
|
||||
- DOCKER_BUILD=qmcgaw/private-internet-access
|
||||
- MICROBADGER_CODE=tQFy7AxtSUNANPe6aoVChYdsI_I=
|
||||
matrix:
|
||||
- name=x86_64
|
||||
script:
|
||||
- docker build .
|
||||
after_script:
|
||||
- "curl -X POST https://hooks.microbadger.com/images/${DOCKER_BUILD}/${MICROBADGER_CODE}"
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
#!/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 .
|
||||
|
||||
3
hooks/post_build
Normal file
3
hooks/post_build
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
curl -X POST https://hooks.microbadger.com/images/qmcgaw/${DOCKER_REPO}/tQFy7AxtSUNANPe6aoVChYdsI_I= || exit 0
|
||||
Reference in New Issue
Block a user