fix: Only set to config/ if files/ doesn't exist
This commit is contained in:
parent
e9925f03c3
commit
bb51a619cd
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ FROM {{ recipe.base_image }}@{{ base_digest }} AS {{ main_stage }}
|
|||
ARG RECIPE={{ recipe_path.display() }}
|
||||
ARG IMAGE_REGISTRY={{ registry }}
|
||||
|
||||
{%- if self::config_dir_exists() %}
|
||||
{%- if self::config_dir_exists() && !self::files_dir_exists() %}
|
||||
ARG CONFIG_DIRECTORY="/tmp/config"
|
||||
{%- else %}
|
||||
ARG CONFIG_DIRECTORY="/tmp/files"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue