fix: set DOCKER_CONFIG to the directory holding the config.json

This commit is contained in:
Jose Diaz-Gonzalez
2026-01-09 23:47:00 -05:00
parent 6a83fd053c
commit 41a15a7319
14 changed files with 15 additions and 15 deletions

View File

@@ -27,7 +27,7 @@ trigger-git-git-from-image() {
echo "LABEL com.dokku.docker-image-labeler/alternate-tags=[\\\"$DOCKER_IMAGE\\\"]" >>"$TMP_WORK_DIR/Dockerfile"
local DOCKER_CONFIG
DOCKER_CONFIG="$(fn-registry-docker-config "$APP")"
DOCKER_CONFIG="$(fn-registry-docker-config-dir"$APP")"
[[ -n "$DOCKER_CONFIG" ]] && export DOCKER_CONFIG
if [[ "$("$DOCKER_BIN" image ls -q "$DOCKER_IMAGE" 2>/dev/null)" == "" ]]; then