File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 39
39
- name : Publish artifact
40
40
env :
41
41
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
42
- GPG_KEY_BASE64 : ${{ secrets.GPG_KEY_BASE64 }}
42
+ GPG_KEYS : ${{ secrets.GPG_KEYS }}
43
43
GPG_KEY_NAME : ${{ secrets.GPG_KEY_NAME }}
44
44
GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
45
45
SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
48
48
# The GITHUB_REF tag comes in the format 'refs/tags/xxx'.
49
49
# So if we split on '/' and take the 3rd value, we can get the release name.
50
50
run : |
51
- export GPG_TTY=$(tty) && echo ${GPG_KEY_BASE64} | base64 --decode | gpg --fast-import --batch
51
+ export GPG_TTY=$(tty) && echo ${GPG_KEYS} | gpg --fast-import --batch
52
52
NEW_VERSION=$(echo "${GITHUB_REF}" | cut -d "/" -f3)
53
53
REPO_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $2}')
54
54
IMAGE=${IMAGE_BASE_NAME}/${REPO_NAME}:${NEW_VERSION}
Original file line number Diff line number Diff line change 10
10
/gradle /daemon /
11
11
/gradle /native /
12
12
/gradle /wrapper /dists /
13
+
14
+ .DS_Store
You can’t perform that action at this time.
0 commit comments