Skip to content

Commit 38d939e

Browse files
Revert "github action - get tag name"
This reverts commit 6b24e24.
1 parent 6b24e24 commit 38d939e

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/docker-build.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)