Update lf-docker-jobs to enforce macro vars
[releng/global-jjb.git] / shell / docker-get-yaml-tag.sh
index 936c272..2a1bbdc 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -l
 # SPDX-License-Identifier: EPL-1.0
 ##############################################################################
 # Copyright (c) 2019 The Linux Foundation and others.
@@ -13,10 +13,6 @@ echo "---> docker-get-yaml-tag.sh"
 
 set -eu -o pipefail
 
-# Install yq to read container-tag.yaml
-python -m pip install --user --quiet --upgrade yq
-export PATH="/home/jenkins/.local/bin:$PATH"
-
 cd "$DOCKER_ROOT"
 container_tag_file=container-tag.yaml