Skip to content

Commit

Permalink
Fix Actions script
Browse files Browse the repository at this point in the history
  • Loading branch information
tindy2013 committed Jul 2, 2020
1 parent 6e8587d commit ff9820b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
id: version
with:
script: |
return context.payload.ref.replace(/\/refs\/tags\//v, '')
return context.payload.ref.replace(/\/?refs\/tags\/v/, '')
result-encoding: string

- name: Docker buildx image and push on release
Expand Down

0 comments on commit ff9820b

Please sign in to comment.