Skip to content

Commit

Permalink
Merge pull request #40 from usdot-jpo-ode/replace/tags
Browse files Browse the repository at this point in the history
Update dockerhub.yml
  • Loading branch information
dan-du-car authored Jun 12, 2024
2 parents d89b9b2 + da5b432 commit ab0d5a8
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 ab0d5a8

Please sign in to comment.