File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -59,18 +59,13 @@ jobs:
5959 cache-from : type=local,src=/tmp/.buildx-cache
6060 cache-to : type=local,dest=/tmp/.buildx-cache-new
6161
62- - name : Production Get Tag Name
63- if : startsWith(github.ref, 'refs/tags/v')
64- uses : little-core-labs/get-git-tag@v3.0.1
65- id : tagName
66-
6762 - name : Production Tag Build and push
6863 if : startsWith(github.ref, 'refs/tags/v')
6964 uses : docker/build-push-action@v2
7065 with :
7166 context : .
7267 push : true
73- tags : ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_IMAGE_NAME }}:${{ steps.tagName.outputs.tag }}
68+ tags : ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_IMAGE_NAME }}:${{ github.event.ref }}
7469 platforms : linux/amd64,linux/arm/v7,linux/arm64/v8
7570 cache-from : type=local,src=/tmp/.buildx-cache
7671 cache-to : type=local,dest=/tmp/.buildx-cache-new
You can’t perform that action at this time.
0 commit comments