diff options
author | Sam Thursfield <sam@afuera.me.uk> | 2017-07-13 22:51:01 +0100 |
---|---|---|
committer | Sam Thursfield <sam@afuera.me.uk> | 2017-07-13 22:51:01 +0100 |
commit | 192951720e6d6f92d2c772e25a9ce46c9f6ebb59 (patch) | |
tree | ab5018434d8067f953aa04b762b798e088fd48ea /.gitlab-ci.yml | |
parent | 629e2a56c0d5670a5ae73b977efc266af3733e63 (diff) | |
download | definitions-192951720e6d6f92d2c772e25a9ce46c9f6ebb59.tar.gz |
.gitlab-ci.yml: Fix ssh private key permissions
It's not really an issue on this private Docker runner, but SSH
refuses to operate unless our private key is suitably protected.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 20ca28a4..b5e0f1d9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,6 +26,7 @@ before_script: - | mkdir -p ~/.ssh echo $baserock_ostree_cache_private_key > ~/.ssh/id_rsa + chmod 600 ~/.ssh/id_rsa ssh-keygen -y -f ~/.ssh/id_rsa > ~/.ssh/id_rsa.pub # Enable push and pull for Baserock artifact cache |