Commit Graph

90 Commits

Author SHA1 Message Date
CrazyMax
22d80c023d
docs: using bake with remote and local metadata definition
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-03-25 11:33:52 +01:00
Tõnis Tiigi
e6428a5c4e
Merge pull request #361 from crazy-max/custom-annotations
custom annotations support
2023-11-30 09:29:27 -08:00
CrazyMax
cb0becceaf
custom annotations support
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2023-11-30 15:09:51 +01:00
favonia
91224bc155
docs(README): add a hint about multi-arch builds
Document probably the most common usage of
`DOCKER_METADATA_ANNOTATIONS_LEVELS`: multi-arch builds.

Signed-off-by: favonia <favonia@gmail.com>
2023-11-30 06:53:25 -06:00
CrazyMax
d6a296c454
chore: use anonymous func to generate tags and add tests
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2023-11-30 10:41:18 +01:00
CrazyMax
f0ad8701de
annotations support
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2023-11-30 10:08:54 +01:00
CrazyMax
b94479639a
bake: split definition into two files
Allows to either include tags or labels or both definitions.
Keep bake-file output for backward compatibility.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2023-11-23 17:08:07 +01:00
CrazyMax
413e9a9a6a
docs: bump actions to latest major
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-09-12 14:17:25 +02:00
Tim Frison
6f69513dab Update Bake file-reference URI
Previous URL 404'd

Signed-off-by: Tim Frison <tim.frison@clio.com>
2023-09-07 16:03:19 -06:00
Emilien Escalle
8f8c795666 feat: allows to specify context to fetch git data
Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
2023-03-30 12:53:58 +02:00
CrazyMax
e2ffd4cc94
update build-push-action to v4
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-01-30 19:37:25 +01:00
CrazyMax
6729545cde
Provide outputs as env vars
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-01-13 11:46:25 +01:00
CrazyMax
70b403b46b
Fix README
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-01-11 16:17:34 +01:00
chroju
90a1d5cf21
Add tz attribute to handlebar date function
Signed-off-by: chroju <chroju@users.noreply.github.com>
2023-01-06 18:11:29 +09:00
CrazyMax
44d853bc0a
readme: fix badges
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-12-19 21:07:37 +01:00
CrazyMax
a99e71cdc7
revert changes to set associated head sha on pull request event
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-10-17 11:49:09 +02:00
CrazyMax
5f26473e44
docs: update links and layout
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-10-08 02:13:25 +02:00
CrazyMax
49e79e3532
docs: priority attribute
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-10-08 01:10:48 +02:00
CrazyMax
5ebec4fd21
docs: workflow_dispatch example
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-10-08 00:48:17 +02:00
CrazyMax
bc6cb60a8a
Merge pull request #213 from crazy-max/bump-actions
Bump actions to latest major
2022-06-07 11:22:34 +02:00
CrazyMax
4db6eea5ea
Bump actions to latest major
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-05-26 23:43:36 +02:00
CrazyMax
59267481d9
Bump all Docker actions to latest major
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-05-05 19:42:03 +02:00
CrazyMax
a20adfa74e
readme: set metadata-action to v4
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-05-05 11:41:40 +02:00
CrazyMax
678218f2be
Note about image name and tag sanitization
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-05-04 15:02:47 +02:00
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
2f4dd1462a
backward compatibility with old images format
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-04-28 09:08:29 +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
1068b75f65
handle comments for multi-line inputs
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-03-07 07:39:41 +01:00
Felipe Santos
535a299de5 Fine tune default branch example
Signed-off-by: GitHub <noreply@github.com>
2022-02-16 17:07:43 +00:00
Stig Otnes Kolstad
5949fa2b94 docs: add example for latest tag with dynamic condition
As described in
https://github.com/docker/metadata-action/issues/147

Signed-off-by: Stig Otnes Kolstad <stig@stigok.com>
2022-01-14 09:53:01 +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
09666f941b
base_ref global expression
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-10-22 13:14:53 +02:00
Jason Travis
48b55c14a8
docs: add README pep440 anchor to list of types
Signed-off-by: Jason Travis <JasonTravis@nau.edu>
2021-10-03 09:24:47 -07:00
Venky
be7d35970b
Fix README
Signed-off-by: Venky <718613+venkytv@users.noreply.github.com>
2021-09-23 13:21:11 +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
Theo Brown
66b9054417 Update README (Issue #116)
Signed-off-by: Theo Brown <7982453+theo-brown@users.noreply.github.com>
2021-08-02 21:19:26 +01: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
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
d43d662db8
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-06-23 12:04:08 +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
a1417fcdec
Fix readme
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-05-13 21:46:07 +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
1239e23120
v3 upgrade notes
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-05-10 16:03:37 +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
280367084a
Fix action name 2021-05-10 15:39:06 +02:00
CrazyMax
9ceaaf86cd
Move to Docker org 2021-05-08 01:41:46 +02:00