From f392fe0cb5f11ece93dd57a475b697d6b47da579 Mon Sep 17 00:00:00 2001 From: solidnerd Date: Thu, 14 Mar 2019 08:28:22 +0100 Subject: [PATCH] Remove docker hub hooks --- .circleci/config.yml | 5 ----- hooks/build | 6 ------ hooks/post_push | 5 ----- 3 files changed, 16 deletions(-) delete mode 100644 hooks/build delete mode 100644 hooks/post_push diff --git a/.circleci/config.yml b/.circleci/config.yml index 2f5f2120..e7551c0c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,11 +5,6 @@ jobs: - image: nlknguyen/alpine-shellcheck:v0.4.6 steps: - checkout - - run: - name: Check Docker Hub Hooks - command: | - find hooks -type f | wc -l - find hooks -type f | xargs shellcheck -e SC2086 --external-sources - run: name: Check Scripts command: | diff --git a/hooks/build b/hooks/build deleted file mode 100644 index f426e0a3..00000000 --- a/hooks/build +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -docker build \ - --build-arg BUILD_DATE="$(date --rfc-3339=s)" \ - --build-arg VCS_REF=`git rev-parse --short HEAD` \ - -t $IMAGE_NAME . \ No newline at end of file diff --git a/hooks/post_push b/hooks/post_push deleted file mode 100644 index 6ac70c0a..00000000 --- a/hooks/post_push +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -set -e - -docker tag $IMAGE_NAME $DOCKER_REPO:latest -docker push $DOCKER_REPO:latest \ No newline at end of file