зеркало из https://github.com/microsoft/docker.git
Merge pull request #8606 from tianon/release-home
Fix more missing HOME references
This commit is contained in:
Коммит
40a6461d16
|
@ -270,7 +270,7 @@ EOF
|
||||||
done
|
done
|
||||||
|
|
||||||
# Upload keys
|
# Upload keys
|
||||||
s3cmd sync /.gnupg/ s3://$BUCKET/ubuntu/.gnupg/
|
s3cmd sync $HOME/.gnupg/ s3://$BUCKET/ubuntu/.gnupg/
|
||||||
gpg --armor --export releasedocker > bundles/$VERSION/ubuntu/gpg
|
gpg --armor --export releasedocker > bundles/$VERSION/ubuntu/gpg
|
||||||
s3cmd --acl-public put bundles/$VERSION/ubuntu/gpg s3://$BUCKET/gpg
|
s3cmd --acl-public put bundles/$VERSION/ubuntu/gpg s3://$BUCKET/gpg
|
||||||
|
|
||||||
|
@ -355,8 +355,8 @@ release_test() {
|
||||||
|
|
||||||
setup_gpg() {
|
setup_gpg() {
|
||||||
# Make sure that we have our keys
|
# Make sure that we have our keys
|
||||||
mkdir -p /.gnupg/
|
mkdir -p $HOME/.gnupg/
|
||||||
s3cmd sync s3://$BUCKET/ubuntu/.gnupg/ /.gnupg/ || true
|
s3cmd sync s3://$BUCKET/ubuntu/.gnupg/ $HOME/.gnupg/ || true
|
||||||
gpg --list-keys releasedocker >/dev/null || {
|
gpg --list-keys releasedocker >/dev/null || {
|
||||||
gpg --gen-key --batch <<EOF
|
gpg --gen-key --batch <<EOF
|
||||||
Key-Type: RSA
|
Key-Type: RSA
|
||||||
|
|
Загрузка…
Ссылка в новой задаче