From 8dd717f6ad74561cea8c6e9284de6f9993019afd Mon Sep 17 00:00:00 2001 From: Saikrishna Bairamoni <84093461+SaikrishnaBairamoni@users.noreply.github.com> Date: Thu, 13 Jun 2024 15:53:22 -0400 Subject: [PATCH] Update dockerhub.yml --- .github/workflows/dockerhub.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dockerhub.yml b/.github/workflows/dockerhub.yml index 258b3d3..4781318 100644 --- a/.github/workflows/dockerhub.yml +++ b/.github/workflows/dockerhub.yml @@ -19,8 +19,13 @@ jobs: with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} + + - name: Replcae Docker tag + id: set_tag + run: echo "TAG=$(echo ${GITHUB_REF##*/} | sed 's/\//-/g')" >> $GITHUB_ENV + - name: Build uses: docker/build-push-action@v5 with: push: true - tags: usdotjpoode/geojsonconverter:${{ github.ref_name }} + tags: usdotjpoode/geojsonconverter:${{ env.TAG }}