Skip to content

Pass Google key to Dockerized versions

Sarah German requested to merge gps-older-versions into main

What does this MR do and why?

Google search is not loading on the 16.0 (last) release. It's missing its API key, as noted here: #1615 (comment 1400853296)

Since this key is set as a CI variable and picked up by Nanoc at compile time as an env var, we need to pass it to the Dockerfile so that it's available when building an archive image.

This change only affects version 16.0 for now, but is needed for any non-main branch running on the primary docs.gitlab.com site (versions on the Archives site run Algolia or Lunr).

Merge request acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports