Skip to content

Commit

Permalink
Add raw docker tag if github.ref is not start with v
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsporn committed Feb 16, 2024
1 parent d66cc4e commit 6ca67f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
type=match,pattern=v(\d+.\d+),suffix=-alpha,group=1,enable=${{ contains(github.ref, '-alpha') }}
type=match,pattern=v(\d+.\d+),suffix=-beta,group=1,enable=${{ contains(github.ref, '-beta') }}
type=match,pattern=v(\d+.\d+),suffix=-rc,group=1,enable=${{ contains(github.ref, '-rc') }}
type=raw,enable=${{ !startsWith(github.ref, 'v') }}
- name: Login to DockerHub
uses: docker/login-action@v3
Expand Down

0 comments on commit 6ca67f7

Please sign in to comment.