printing some variables
parent
492c285c60
commit
b01bc76436
|
|
@ -8,9 +8,9 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- nginx-network
|
- nginx-network
|
||||||
environment:
|
environment:
|
||||||
- GIT_SERVER_PROGRAMM=${GIT_SERVER_PROGRAMM}
|
GIT_SERVER_PROGRAMM=${GIT_SERVER_PROGRAMM}
|
||||||
- GIT_SERVER_ASSETS=${GIT_SERVER_ASSETS}
|
GIT_SERVER_ASSETS=${GIT_SERVER_ASSETS}
|
||||||
- WEBHOOK_SECRET=${WEBHOOK_SECRET}
|
WEBHOOK_SECRET=${WEBHOOK_SECRET}
|
||||||
|
|
||||||
webhooks-git:
|
webhooks-git:
|
||||||
build:
|
build:
|
||||||
|
|
|
||||||
|
|
@ -79,7 +79,11 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Create or append known_hosts
|
# Create or append known_hosts
|
||||||
|
|
||||||
|
echo "Validating: $GIT_SERVER_PROGRAMM"
|
||||||
ssh-keyscan -H "$GIT_SERVER_PROGRAMM" >> "${path_ssh}"/known_hosts
|
ssh-keyscan -H "$GIT_SERVER_PROGRAMM" >> "${path_ssh}"/known_hosts
|
||||||
|
|
||||||
|
echo "Validating: $GIT_SERVER_ASSETS"
|
||||||
ssh-keyscan -H "$GIT_SERVER_ASSETS" >> "${path_ssh}"/known_hosts
|
ssh-keyscan -H "$GIT_SERVER_ASSETS" >> "${path_ssh}"/known_hosts
|
||||||
|
|
||||||
echo "git and ssh configured."
|
echo "git and ssh configured."
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue