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 @@ -19,13 +19,14 @@ jobs:
1919 run : |
2020 REF=${{ github.ref }}
2121 echo ::set-output name=image_tag::$(echo $REF | sed 's/refs\/tags\/v//g')
22+ echo ::set-output name=image_tag_minor_latest::$(echo $REF | sed -e 's/refs\/tags\/v//g' -e 's/^\([[:digit:]]*\.[[:digit:]]*\).*/\1/')
2223 - name : ' Build and publish to Docker Hub'
2324 uses : docker/build-push-action@v1
24- with :
25+ with :
2526 username : ${{ secrets.DOCKER_USERNAME }}
2627 password : ${{ secrets.DOCKER_ACCESS_TOKEN }}
2728 repository : ${{ secrets.DOCKER_REPO }}
28- tags : ${{ steps.extract.outputs.image_tag }}
29+ tags : ${{ steps.extract.outputs.image_tag }}, ${{ steps.extract.outputs.image_tag_minor_latest }}
2930 add_git_labels : true
3031 build :
3132 name : ' Build binary for ${{ matrix.os }}'
@@ -125,7 +126,7 @@ jobs:
125126 echo "Last version: $last_version on $last_release_date"
126127 # pulling from git logs
127128 curl -q -s -H "Accept: application/vnd.github.v3+json" \
128- "https://api.github.com/search/issues?q=repo:jpmorganchase /quorum+is:pr+is:merged+merged%3A>=$last_release_date+sort%3Aupdated-desc" | jq -r '"* " + (.items[]|.title + " #" + (.number|tostring))' \
129+ "https://api.github.com/search/issues?q=repo:ConsenSys /quorum+is:pr+is:merged+merged%3A>=$last_release_date+sort%3Aupdated-desc" | jq -r '"* " + (.items[]|.title + " #" + (.number|tostring))' \
129130 >> $file
130131 # pulling file hashes from Bintray
131132 echo "" >> $file
You can’t perform that action at this time.
0 commit comments