Skip to content

Commit

Permalink
remove set version
Browse files Browse the repository at this point in the history
  • Loading branch information
skibum1869 committed Nov 28, 2023
1 parent 45b0bb2 commit f0a036f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/dockerpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: set version
run: |
echo "VERSION=$(echo ${{ github.ref_name }}" >> $GITHUB_ENV
-
name: Build and push
uses: docker/build-push-action@v5
Expand All @@ -50,7 +46,7 @@ jobs:
# docker hub user/repo:tag
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/mtconnect:latest
${{ secrets.DOCKERHUB_USERNAME }}/mtconnect:${{ env.VERSION }}
${{ secrets.DOCKERHUB_USERNAME }}/mtconnect:${{ github.ref_name }}
# push to docker hub
push: true

Expand Down

0 comments on commit f0a036f

Please sign in to comment.