Skip to content

Commit 7c2e3f3

Browse files
committed
update tagging to YY.MM
1 parent 5788cb7 commit 7c2e3f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ 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:]]$/-latest/g')
22+
echo ::set-output name=image_tag_minor_latest::$(echo $REF | sed -e 's/refs\/tags\/v//g' -e 's/^\([[:digit:]]*\.[[:digit:]]*\).*/\1/')
2323
- name: 'Build and publish to Docker Hub'
2424
uses: docker/build-push-action@v1
25-
with:
25+
with:
2626
username: ${{ secrets.DOCKER_USERNAME }}
2727
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
2828
repository: ${{ secrets.DOCKER_REPO }}

0 commit comments

Comments
 (0)