File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -48,12 +48,13 @@ jobs:
4848
4949 # The GITHUB_REF tag comes in the format 'refs/tags/xxx'.
5050 # So if we split on '/' and take the 3rd value, we can get the release name.
51+
52+ # ./gradlew jibDockerBuild --image="${IMAGE_NAME}:${NEW_VERSION}"
53+ # echo "$GITHUB_TOKEN" | docker login --username "$GITHUB_REPOSITORY" --password-stdin https://docker.pkg.github.com
54+ # docker push "${IMAGE_NAME}:${NEW_VERSION}"
5155 run : |
5256 export GPG_TTY=$(tty) && echo ${GPG_KEY_BASE64} | base64 --decode | gpg --fast-import --batch
5357 NEW_VERSION=$(echo "${GITHUB_REF}" | cut -d "/" -f3)
5458 echo "New version: ${NEW_VERSION}"
5559 ./gradlew -Pversion=${NEW_VERSION} publish
56- ./gradlew jibDockerBuild --image="${IMAGE_NAME}:${NEW_VERSION}"
57- echo "$GITHUB_TOKEN" | docker login --username "$GITHUB_REPOSITORY" --password-stdin https://docker.pkg.github.com
58- docker push "${IMAGE_NAME}:${NEW_VERSION}"
5960
You can’t perform that action at this time.
0 commit comments