Skip to content

Commit

Permalink
BUG: fixing tags again
Browse files Browse the repository at this point in the history
  • Loading branch information
cookpa committed Jul 23, 2024
1 parent 7abe066 commit d368e3d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,11 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Edit tag for releases
if: ${{ startsWith(github.ref, 'refs/tags/') }}
run: |
GIT_TAG="${{ github.ref }}"
STRIPPED_TAG="${GIT_TAG#refs/tags/v}"
echo "DOCKER_TAG=${STRIPPED_TAG}" >> $GITHUB_ENV
echo "DOCKER_TAG=antsx/ants:${STRIPPED_TAG}" >> $GITHUB_ENV
-
name: Build and load (PR) or push (commit/tag)
uses: docker/build-push-action@v5
Expand Down

0 comments on commit d368e3d

Please sign in to comment.