Skip to content

Commit

Permalink
Update dockerhub.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SaikrishnaBairamoni authored Jun 12, 2024
1 parent d89b9b2 commit da5b432
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,14 @@ jobs:
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
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/jpo-cvdp:${{ github.ref_name }}
tags: usdotjpoode/jpo-cvdp:${{ env.TAG }}

0 comments on commit da5b432

Please sign in to comment.