diff --git a/ci-templates/industrial-ci-templates.yml b/ci-templates/industrial-ci-templates.yml index 688e1a73d8a3806ef2d07486ba9816f654200504..0acda1774f69bace3466c52e5f4ca9e6d837c520 100644 --- a/ci-templates/industrial-ci-templates.yml +++ b/ci-templates/industrial-ci-templates.yml @@ -42,7 +42,7 @@ # Run ddeploy - ddeploy --yaml ${DDEPLOY_YAML} # Get ID of image created by ddeploy - - DOCKER_ID=`docker images --format='{{.ID}}' | head -1` + - 'DOCKER_ID=$(docker images --format="{{.ID}}" | head -1)' # Tag and push - docker tag ${DOCKER_ID} ${DOCKER_PUSH_REGISTRY}/${DOCKER_PUSH_NAME}:${DOCKER_PUSH_TAG} - docker push ${DOCKER_PUSH_REGISTRY}/${DOCKER_PUSH_NAME}:${DOCKER_PUSH_TAG}