We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5788cb7 commit 7c2e3f3Copy full SHA for 7c2e3f3
.github/workflows/release.yml
@@ -19,10 +19,10 @@ jobs:
19
run: |
20
REF=${{ github.ref }}
21
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')
+ echo ::set-output name=image_tag_minor_latest::$(echo $REF | sed -e 's/refs\/tags\/v//g' -e 's/^\([[:digit:]]*\.[[:digit:]]*\).*/\1/')
23
- name: 'Build and publish to Docker Hub'
24
uses: docker/build-push-action@v1
25
- with:
+ with:
26
username: ${{ secrets.DOCKER_USERNAME }}
27
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
28
repository: ${{ secrets.DOCKER_REPO }}
0 commit comments