Skip to content
Snippets Groups Projects
Commit f4662898 authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

update docker build

parent 3b7a3070
No related branches found
No related tags found
1 merge request!503Docker and Web Services
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
set -x; set -x;
BUILD_ARGS=''; BUILD_ARGS="";
for arg in ${DOCKER_BUILD_ARGS}; do for arg in ${DOCKER_BUILD_ARGS}; do
BUILD_ARGS="${BUILD_ARGS} --build-arg ${arg}"; BUILD_ARGS="${BUILD_ARGS} --build-arg ${arg}";
...@@ -15,7 +15,7 @@ echo "${BUILD_ARGS}"; ...@@ -15,7 +15,7 @@ echo "${BUILD_ARGS}";
# Build Docker image # Build Docker image
docker build \ docker build \
"${BUILD_ARGS}" \ ${BUILD_ARGS} \
--pull \ --pull \
--tag "${CODE_REGISTRY_IMAGE}/${IMAGE_NAME}:${CI_COMMIT_REF_SLUG}" \ --tag "${CODE_REGISTRY_IMAGE}/${IMAGE_NAME}:${CI_COMMIT_REF_SLUG}" \
--file "${DOCKERFILE}" \ --file "${DOCKERFILE}" \
......
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