-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tag chaining with match and semver #56
Comments
That's because your pattern is incorrect I guess. What is the value of Also you got
Same as before I would need the link to your repo/workflow to understand what you want and the current behavior.
Yes good catch! Feel free to open a PR to fix the README thanks :) |
My current project is private repo, but I can reproduce in my test project.
I don't think my pattern is wrong. I guess your implementation normalizes tag with
If I understand your description correctly:
Then I should receive: |
@zero88 I have improved the logging. Can you give me the output of the meta step please? |
@crazy-max Other runs seem fine from |
@zero88 I think the following should work: tags:
type=match,pattern=p1-v(\d.\d.\d),group=1
type=match,pattern=p1-v(\d.\d),group=1
type=ref,event=pr
type=sha or tags:
type=match,pattern=\d.\d.\d
type=match,pattern=\d.\d
type=ref,event=pr
type=sha |
@crazy-max Thank you for your response. After your suggestion, it works.
Click to expand!
|
Yes that's it, I think we should check matches before escaping.
We can think about that. Maybe smth like that: type=match,asref=foo,pattern=p1-v(\d.\d.\d),group=1
type=semver,pattern={{version}},use=foo |
Just to help out GitHub issue search: hyphen, dash, slash, path separator. |
Behaviour
My context is kind of mono repository that each project has itself life-cycle.
Currently, I separate GitHub release tag as:
project/semver
Steps to reproduce this issue
It should be
1.0.0
???Expected behaviour
I'm wondering how to make tag chaining from
match
tosemver
. I have not yet understand prefix/suffix/value for what purpose.In my case: I expect tag output is
1.0.0
1.0
latest
Another thing, typo in https://github.com/crazy-max/ghaction-docker-meta#typematch
Should be
type=match
?The text was updated successfully, but these errors were encountered: