From 9a6e7804cae75bb7f4bda38dcd1807de797408a1 Mon Sep 17 00:00:00 2001 From: Sujen Shah <sujen.shah@jpl.nasa.gov> Date: Tue, 6 Aug 2024 05:44:06 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1395b2a..141430e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,12 +22,12 @@ docker-build: # All other branches are tagged with the escaped branch name (commit ref slug) script: - tag="$CI_COMMIT_SHA" - - docker build --pull -t "${CI_REGISTRY_IMAGE}:${tag}" . + - docker build --pull -t "${CI_REGISTRY_IMAGE}:${tag}" -f infiles_dps/dockerfile . - docker push "${CI_REGISTRY_IMAGE}:${tag}" # Run this job in a branch where a Dockerfile exists rules: - if: $CI_COMMIT_BRANCH exists: - - Dockerfile + - infiles_dps/dockerfile tags: - shell -- GitLab