From 53f841c91f35b8e8bc44dd8863ccb27fa1278a0f Mon Sep 17 00:00:00 2001
From: zimniy <zimniy@cyberbrain.pw>
Date: Sun, 19 Jul 2020 16:36:34 +0300
Subject: [PATCH] Linter fixes 4

---
 .gitlab-ci.yml | 2 +-
 Dockerfile     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 30212c6..7cc5d9c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -47,7 +47,7 @@ build:
     GIT_DEPTH: 1
   script:
     - docker pull "${CI_REGISTRY_IMAGE}:latest" || true
-    - docker build --build-arg DEPENDENCIES_RUNTIME="${DEPENDENCIES_RUNTIME}" --cache-from "${CI_REGISTRY_IMAGE}:latest" -t "${CI_REGISTRY_IMAGE}:temp-${CI_PIPELINE_IID}" -f ./Dockerfile .
+    - docker build --build-arg DEPENDENCIES_RUNTIME="${APPS}" --cache-from "${CI_REGISTRY_IMAGE}:latest" -t "${CI_REGISTRY_IMAGE}:temp-${CI_PIPELINE_IID}" -f ./Dockerfile .
     - docker push "${CI_REGISTRY_IMAGE}:temp-$CI_PIPELINE_IID"
 
 ##########################################################################################################
diff --git a/Dockerfile b/Dockerfile
index 96d7930..a2a5753 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,6 +3,6 @@ FROM pipelinecomponents/ansible-lint:latest
 ENV LANG C.UTF-8
 
 #ARG DEPENDENCIES_RUNTIME="git openssh-client rsync"
-RUN apk add --no-cache ${DEPENDENCIES_RUNTIME}
+RUN apk add --no-cache $DEPENDENCIES_RUNTIME
 
 WORKDIR /opt/ansible
-- 
GitLab