Commit 3e8411ce authored by Clement Bois's avatar Clement Bois
Browse files

fix: support dotenv for non-root images

parent 3c1e9416
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1012,6 +1012,7 @@ stages:
    # finally propagate environment info
    # /!\ append is important here as it may have been created by a hook script
    echo -e "environment_type=$environment_type\\nenvironment_name=$CI_ENVIRONMENT_NAME\\nenvironment_slug=$CI_ENVIRONMENT_SLUG" >> terraform.env
    chmod 644 terraform.env
  }

  function tf_destroy() {