Commit Graph

55 Commits

Author SHA1 Message Date
CrazyMax
e44c1fbe6e
Do not sanitize before pattern matching
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-05-04 15:02:20 +02:00
CrazyMax
a5680a6642
attribute to enable/disable images
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-04-27 16:59:05 +02:00
CrazyMax
0a72be43da
don't handle default branch global exp for pr events
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-04-26 17:13:40 +02:00
CrazyMax
aca951f8f5
remove support of default branch global exp for push tag events
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-04-26 14:47:51 +02:00
CrazyMax
e1a45f6e54
is_default_branch global expression
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-04-25 13:41:47 +02:00
CrazyMax
5f62bc0532
dev: update fixtures
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-04-19 13:18:19 +02:00
CrazyMax
e99ab50e6c
chore: update dev dependencies and workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-03-22 21:09:00 +01:00
CrazyMax
aad230bbd9
fix: handle raw statement for pep440 pre-release
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-12-06 17:15:06 +01:00
CrazyMax
52100c89dd
fix: handle raw statement for semver pre-release
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-12-06 15:42:33 +01:00
CrazyMax
9a42503205
chore: cleanup tests
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-12-06 15:42:32 +01:00
CrazyMax
59e3d70a23
Preserve quotes inside unquoted field
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-11-29 13:31:50 +01:00
CrazyMax
09666f941b
base_ref global expression
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-10-22 13:14:53 +02:00
CrazyMax
e4f548552d
Add global expression "date"
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-08-19 19:58:15 +02:00
CrazyMax
4cb9252fa6
Only return edge if branch matches
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-07-12 17:08:07 +02:00
CrazyMax
c15e83fc17
Update dev deps
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-07-06 20:01:00 +02:00
CrazyMax
a1770d2eba
PEP 440 support
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-07-06 13:56:55 +02:00
CrazyMax
375e313280
Allow global prefix/suffix on latest
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-07-05 20:37:02 +02:00
CrazyMax
85f4f732f2
Fix pull_request_target event
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-05-25 18:45:38 +02:00
CrazyMax
28d7c8bbcd
Fix octokit definition object
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-05-25 02:07:31 +02:00
CrazyMax
4d088f5efc
Handle pull_request_target event
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-05-23 03:54:23 +02:00
CrazyMax
e6f3e4aa91
Add json output
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-05-22 21:23:06 +02:00
CrazyMax
8841ef4bb7
Add format attribute for type=sha
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-05-11 20:14:27 +02:00
CrazyMax
ed01528979
Rename bake target
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-05-10 15:54:35 +02:00
CrazyMax
5e6d5157fb
Handle global expressions (#71)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-05-07 21:53:30 +02:00
CrazyMax
72e5d60481
Add bake-target input (#69)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-04-30 00:51:48 +02:00
CrazyMax
1a678de43d
Allow to override flavor (#63)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-04-07 20:54:35 +02:00
CrazyMax
84b9e75d44
Prefix/suffix not taken into account (#62)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-04-07 20:31:35 +02:00
CrazyMax
36ae18e02c
Skip and display warning if tag does not match (#59)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-04-05 21:19:05 +02:00
CrazyMax
7433b42479
Improve logging (#58)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-04-03 18:15:27 +02:00
CrazyMax
e04b4d01a9
Cleanup 2021-03-30 13:57:33 +02:00
Jakub Bacic
b909bd34ef
Fix 'enable' tag attribute (#53) 2021-03-30 13:11:51 +02:00
CrazyMax
2f83320d17
v2 (#50)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-03-29 13:04:53 +02:00
CrazyMax
db66d4df79
Inject DOCKER_META_IMAGES and DOCKER_META_VERSION args in bake definition (#37)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-24 15:45:28 +00:00
CrazyMax
10e9d5d585
Add bake-file output (#36)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-24 03:13:41 +00:00
CrazyMax
3479bd5aaa
Add label-custom input (#35)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-23 21:09:38 +00:00
CrazyMax
7040b59aa5
Replace forbidden chars derived from branch name (#29)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-07 23:01:39 +00:00
CrazyMax
585ab8356c
Allow to add custom tags (#24)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-04 17:12:39 +00:00
CrazyMax
9de4428611
Allow to disable latest tag (#23)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-01 05:29:34 +00:00
CrazyMax
4c2760ba7a
Warn on invalid semver (#22)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-01 04:50:39 +00:00
CrazyMax
ef12c77b87
Avoid unnecessary calls to version (#21)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-01 04:38:08 +00:00
CrazyMax
7cb65aaacb
Pre-release (rc, beta, alpha) will only extend {{version}} as tag for tag-semver 2020-11-20 23:12:14 +01:00
CrazyMax
6f270f37d4
Add test 2020-11-20 16:30:57 +01:00
CrazyMax
a017e545d7
Remove duplicated tags 2020-11-18 01:10:05 +01:00
CrazyMax
e8ce48988f
Handle semver tags (#14)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-17 22:31:03 +00:00
CrazyMax
dd2e615c98
Fix tests 2020-10-31 20:21:22 +01:00
CrazyMax
52c4b1ad0c
Handle tag-match-latest on Git tag event (#8)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-31 18:52:55 +00:00
CrazyMax
6cc07472c0
Generate latest tag by default on push tag event (#5)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-28 17:25:31 +00:00
CrazyMax
6fe5b3f6bb
Add tag-match-group input to choose group to get if tag-match matches
Check tag-match is a valid regex
2020-10-27 02:32:26 +01:00
CrazyMax
983124bca8
Use RegExp to match against a Git tag instead of coerce 2020-10-27 00:57:32 +01:00
CrazyMax
0dac4059e9
Set latest tag only if matches with a pattern 2020-10-26 17:51:00 +01:00