From e39bdc767846fd53764634c344cbbe21109ebc94 Mon Sep 17 00:00:00 2001 From: MinUk Song Date: Tue, 30 Apr 2024 16:20:11 +0900 Subject: [PATCH] fix: ci --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 86ce8fc..5de868a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,7 +20,8 @@ goreleaser: GITLAB_TOKEN: $CI_JOB_TOKEN before_script: - apk add gpg-agent - - gpg --batch --no-tty --passphrase $PASSPHRASE --import $GPG_PRIVATE_KEY + - echo $GPG_PRIVATE_KEY > ~/private-gpg.key + - gpg --batch --no-tty --passphrase $PASSPHRASE --import ~/private-gpg.key - "export GPG_FINGERPRINT=$(gpg --with-colons --list-keys | awk -F: '/^pub/ { print $5 }')" script: - goreleaser release