X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;ds=sidebyside;f=shell%2Fdocker-get-git-describe.sh;fp=shell%2Fdocker-get-git-describe.sh;h=0000000000000000000000000000000000000000;hb=f88c7c24b2b1a6f04f85afa8c0a91d8321aef8ea;hp=c1a3d21e06d2302638dea0e242f8ea288be0401c;hpb=40dcef755655b17e307a7b2a7c0b868937b1c93c;p=releng%2Fglobal-jjb.git diff --git a/shell/docker-get-git-describe.sh b/shell/docker-get-git-describe.sh deleted file mode 100644 index c1a3d21e..00000000 --- a/shell/docker-get-git-describe.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash -# SPDX-License-Identifier: EPL-1.0 -############################################################################## -# Copyright (c) 2019 The Linux Foundation and others. -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -############################################################################## -echo "---> docker-get-git-describe.sh" -# Gets the container tag using git describe. - -set -eu -o pipefail - -cd "$DOCKER_ROOT" - -image_build_tag=$(git describe) - -if [ -z "$image_build_tag" ] -then - echo "git describe returned an empty value, make sure a version tag is applied" - exit 1 -fi -echo "---> Tag found: $image_build_tag" -# Write DOCKER_IMAGE_TAG information to a file so it can be injected into the -# environment for following steps -echo "DOCKER_IMAGE_TAG=$image_build_tag" >> "$WORKSPACE/env_docker_inject.txt"