Skip to content
Snippets Groups Projects
Commit 600c7b88 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Fix docker tag checking; fixes #92

parent 0bb8c66e
No related branches found
No related tags found
1 merge request!269Fix docker tag checking
Pipeline #56670 passed
...@@ -250,9 +250,9 @@ def build( ...@@ -250,9 +250,9 @@ def build(
# If in docker, install the packages inside the yum_requirements.txt file if it exists # If in docker, install the packages inside the yum_requirements.txt file if it exists
yum_requirements_file = os.path.join(d, "yum_requirements.txt") yum_requirements_file = os.path.join(d, "yum_requirements.txt")
if "docker" in os.environ.get("CI_RUNNER_TAGS", "") and os.path.exists( if "docker" in os.environ.get("CI_RUNNER_TAGS", "").split(
yum_requirements_file ", "
): ) and os.path.exists(yum_requirements_file):
logger.info( logger.info(
"Installing packages from yum_requirements.txt file using yum" "Installing packages from yum_requirements.txt file using yum"
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment