Only sync secrets on startup

This commit is contained in:
janskiba 2024-01-22 08:25:57 +00:00 committed by juarez
parent 26c9e1286d
commit ebbe64abee
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,6 @@ loadVars() {
export FOCUS_TAG=main export FOCUS_TAG=main
;; ;;
esac esac
sync_secrets
} }
case "$ACTION" in case "$ACTION" in
@ -91,6 +90,7 @@ case "$ACTION" in
loadVars loadVars
hc_send log "Bridgehead $PROJECT startup: Checking requirements ..." hc_send log "Bridgehead $PROJECT startup: Checking requirements ..."
checkRequirements checkRequirements
sync_secrets
hc_send log "Bridgehead $PROJECT startup: Requirements checked out. Now starting bridgehead ..." hc_send log "Bridgehead $PROJECT startup: Requirements checked out. Now starting bridgehead ..."
exec $COMPOSE -p $PROJECT -f ./minimal/docker-compose.yml -f ./$PROJECT/docker-compose.yml $OVERRIDE up --abort-on-container-exit exec $COMPOSE -p $PROJECT -f ./minimal/docker-compose.yml -f ./$PROJECT/docker-compose.yml $OVERRIDE up --abort-on-container-exit
;; ;;