From bb93b1f4d4a3d20fc54fa342a98768f58e888de5 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Tue, 25 Sep 2018 14:22:55 -0400 Subject: [PATCH] update Signed-off-by: Jess Frazelle --- github-dev/Dockerfile | 1 + github-dev/gcloud-login | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/github-dev/Dockerfile b/github-dev/Dockerfile index e8e7bfa..092d105 100644 --- a/github-dev/Dockerfile +++ b/github-dev/Dockerfile @@ -7,6 +7,7 @@ RUN apk add --no-cache \ curl \ gcc \ git \ + gnupg \ jq \ make \ musl-dev diff --git a/github-dev/gcloud-login b/github-dev/gcloud-login index 78c76c7..1923ffe 100755 --- a/github-dev/gcloud-login +++ b/github-dev/gcloud-login @@ -2,6 +2,5 @@ set -e set -o pipefail -echo "$GCLOUD_KEY" +gpg --batch --yes --passphrase "$GCLOUD_KEY" --cipher-algo AES256 -o "${HOME}/gcloud.key" "${GITHUB_WORKSPACE}/.gcloud.key.gpg" -echo "$GCLOUD_KEY" > "${HOME}/.gcloud.json"