[bitnami/redmine] Release redmine-6.0.3-debian-12-r1 (#76770)

Signed-off-by: Bitnami Bot <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot 2025-01-29 12:44:45 +01:00 committed by GitHub
parent 66bd232518
commit 825ad30f72
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 5 deletions

View File

@ -8,11 +8,11 @@ ARG TARGETARCH
LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
org.opencontainers.image.created="2025-01-29T08:58:51Z" \
org.opencontainers.image.created="2025-01-29T11:20:35Z" \
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/redmine/README.md" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="6.0.3-debian-12-r0" \
org.opencontainers.image.ref.name="6.0.3-debian-12-r1" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/redmine" \
org.opencontainers.image.title="redmine" \
org.opencontainers.image.vendor="Broadcom, Inc." \

View File

@ -455,11 +455,13 @@ redmine_rake_execute() {
# None
#########################
redmine_migrate_database() {
# Secret tokens need to be generated or the migration will fail
# If not provided, secret token needs to be generated or the migration will fail
# "Missing `secret_key_base` for 'production' environment, set this string with `rails credentials:edit`"
# And since we are not persisting that file, they will always need to be generated
debug "Generating secret tokens"
redmine_rake_execute "generate_secret_token"
if is_empty_value "${SECRET_KEY_BASE:-}"; then
debug "Generating secret tokens"
redmine_rake_execute "generate_secret_token"
fi
# Output is too big and password get lost in console
redmine_rake_execute "db:migrate" >/dev/null 2>&1