Skip to content

Commit

Permalink
chore(ci): release build of container does not properly extract versi…
Browse files Browse the repository at this point in the history
…on (#1809)

### Proposed Changes

On the `service/v0.4.31` build the regex did not capture the last digit.
This change supports multiple digits.

https://regex101.com/r/d0UNkg/1
### Checklist

- [ ] I have added or updated unit tests
- [ ] I have added or updated integration tests (if appropriate)
- [ ] I have added or updated documentation

### Testing Instructions
  • Loading branch information
strantalis authored Dec 3, 2024
1 parent 58cb3f6 commit 52bd771
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ jobs:
images: ${{ secrets.DOCKER_REPO }}
tags: |
type=sha,format=long
type=match,pattern=service/v(\d.\d.\d),group=1,prefix=v
type=match,pattern=service/v(\d.\d),group=1,prefix=v
type=match,pattern=service/v(\d+.\d+.\d+),group=1,prefix=v
type=match,pattern=service/v(\d+.\d+),group=1,prefix=v
labels: |
org.opencontainers.image.documentation=https://docs.opentdf.io
Expand Down

0 comments on commit 52bd771

Please sign in to comment.