Skip to content

Commit

Permalink
Merge pull request #60 from usdot-jpo-ode/replace/tags
Browse files Browse the repository at this point in the history
Update dockerhub.yml to replace tags
  • Loading branch information
dan-du-car authored Jun 12, 2024
2 parents f273c50 + 981a39f commit 577ac84
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@ 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@v3
with:
push: true
tags: usdotjpoode/jpo-s3-deposit:${{ github.ref_name }}
tags: usdotjpoode/jpo-s3-deposit:${{ env.TAG }}

0 comments on commit 577ac84

Please sign in to comment.