1
0
Fork 0
mirror of https://github.com/overleaf/toolkit.git synced 2025-04-19 07:18:06 +02:00

Append version to GIT_BRIDGE_IMAGE

This commit is contained in:
Jakob Ackermann 2024-10-23 12:21:41 +01:00
parent 233354d840
commit e02db459c6
No known key found for this signature in database
GPG key ID: 30C56800FCA3828A
2 changed files with 11 additions and 1 deletions

View file

@ -1,5 +1,15 @@
# Changelog
## 2024-10-23
### Changed
- If set, the `overleaf.rc` entry `GIT_BRIDGE_IMAGE` must be specified without the version now.
Example:
```diff
-GIT_BRIDGE_IMAGE=my.registry.com/overleaf/git-bridge:5.1.1
+GIT_BRIDGE_IMAGE=my.registry.com/overleaf/git-bridge
```
## 2024-09-24
### Added
- Print warning when running `bin/up` without detach mode

View file

@ -206,7 +206,7 @@ function set_nginx_vars() {
function set_git_bridge_vars() {
local image_name
if [[ -n ${GIT_BRIDGE_IMAGE:-} ]]; then
image_name="$GIT_BRIDGE_IMAGE"
image_name="$GIT_BRIDGE_IMAGE:$IMAGE_VERSION"
else
image_name="quay.io/sharelatex/git-bridge:$IMAGE_VERSION"
fi