Skip to content

Commit

Permalink
ci: build image tag without prepended 'v'
Browse files Browse the repository at this point in the history
  • Loading branch information
d-Rickyy-b committed Aug 8, 2022
1 parent a06c241 commit 74fe338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v2

- name: Set build tag as env var
run: echo "TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
run: echo "TAG=${GITHUB_REF#refs/*/v}" >> $GITHUB_ENV

- name: Docker login
run: docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down

0 comments on commit 74fe338

Please sign in to comment.