From 41cda4b596f2093b09a982cbac5fd5912c7dcf09 Mon Sep 17 00:00:00 2001 From: Francisco Aranda Date: Wed, 29 Jun 2022 15:15:23 +0200 Subject: [PATCH] chore: remove old scripts --- scripts/publish_gitlab_docker.sh | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100755 scripts/publish_gitlab_docker.sh diff --git a/scripts/publish_gitlab_docker.sh b/scripts/publish_gitlab_docker.sh deleted file mode 100755 index 70161db79e..0000000000 --- a/scripts/publish_gitlab_docker.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env bash - -IMAGE_NAME="registry.gitlab.com/recognai-team/biome/rubrix" -COMMIT=$(git rev-parse --short HEAD) -TAG=$(git describe --exact-match ${COMMIT}) -BASEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" - -DISTRIBUTION="$( $BASEDIR/build_distribution.sh )" - -BUILD_TAGS="-t ${IMAGE_NAME}:${COMMIT} -t ${IMAGE_NAME}:latest " -if [ ! -z "${TAG}" ] -then - BUILD_TAGS="${BUILD_TAGS} -t ${IMAGE_NAME}:${TAG}" -fi - -docker build ${BUILD_TAGS} . -docker push ${IMAGE_NAME} --all-tags