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"