File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 42
42
GPG_KEY_BASE64 : ${{ secrets.GPG_KEY_BASE64 }}
43
43
GPG_KEY_NAME : ${{ secrets.GPG_KEY_NAME }}
44
44
GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
45
- run : echo $GPG_KEY_BASE64 | base64 --decode | gpg --yes --batch --import
45
+ run :
46
+ export GPG_TTY=$(tty) && echo $GPG_KEY_BASE64 | base64 --decode | gpg --fast-import --batch
46
47
47
48
- name : Publish artifact
48
49
env :
57
58
run : |
58
59
NEW_VERSION=$(echo "${GITHUB_REF}" | cut -d "/" -f3)
59
60
echo "New version: ${NEW_VERSION}"
60
- echo "Github username: ${GITHUB_ACTOR}"
61
61
./gradlew -Pversion=${NEW_VERSION} publish
62
62
./gradlew jibDockerBuild --image="${IMAGE_NAME}:${NEW_VERSION}"
63
63
echo "$GITHUB_TOKEN" | docker login --username "$GITHUB_REPOSITORY" --password-stdin https://docker.pkg.github.com
You can’t perform that action at this time.
0 commit comments