use gitlab docker registry

This commit is contained in:
Sebastian Hugentobler 2017-09-06 10:46:01 +02:00
parent bdf253be3d
commit c2aad1da9e
6 changed files with 51 additions and 31 deletions

View file

@ -1,5 +1,5 @@
#!/usr/bin/with-contenv sh
if [ ! -f /var/lib/proftp/keys/ssh_rsa_key ]; then
ssh-keygen -b 2048 -t rsa -f /var/lib/proftp/keys/ssh_rsa_key -q -N ""
if [ ! -f /etc/proftpd/keys/ssh_rsa_key ]; then
ssh-keygen -b 2048 -t rsa -f /etc/proftpd/keys/ssh_rsa_key -q -N ""
fi