144 Commits

Author SHA1 Message Date
CrazyMax
7594ecce5b
Remove note about Git context not supporting subdir
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-07-13 20:33:04 +02:00
CrazyMax
95f997534a
Merge pull request #362 from akhilerm/add-tag-push-action
Add tag-push action to advanced usage section
2021-05-21 17:36:43 +02:00
CrazyMax
6f4938aa75
Share built image between jobs
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-05-21 17:05:21 +02:00
Akhil Mohan
5b3f377cdd
add tag-push action to advanced usage section
Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io>
2021-05-12 15:56:02 +05:30
CrazyMax
d619a7ff00
Remove os limitation
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-04-27 16:16:28 +02:00
CrazyMax
5a4a26c0fc
Add network input
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-04-06 14:49:15 +02:00
CrazyMax
f6a733366a
Sort inputs
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-04-06 13:55:04 +02:00
CrazyMax
646552f0a1
Fix doc links
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-04-03 20:41:36 +02:00
Tanguy Chiffoleau
22d49d64f5 Fix wrong link for login action repo
Signed-off-by: TanguyChiffoleau <55456592+TanguyChiffoleau@users.noreply.github.com>
2021-02-24 23:44:08 +01:00
CrazyMax
a63b18dea2
Enhance documentation
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-02-17 18:53:20 +01:00
CrazyMax
080cadd33e
Allow to use secret file mount
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-02-15 10:08:25 +01:00
Ahmed Agabani
565d16e074
Fix README
Signed-off-by: agabani <agabani@users.noreply.github.com>
2021-01-01 03:26:46 +00:00
Libo Zeng
a8587cb818 use default docker command line values for file when it is missing
Signed-off-by: Libo Zeng <libo@mabl.com>
2020-12-18 10:49:11 -05:00
CrazyMax
35e3637576
Typo in README
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-05 03:52:01 +01:00
Malcolm Davis Steele
9ada3141a9 Apply suggestions
Signed-off-by: Malcolm Davis Steele <me@malcolmdavis.xyz>
2020-12-03 16:39:04 -06:00
Malcolm Davis Steele
e53bafea73 Update documentation on escaping quotes
Signed-off-by: Malcolm Davis Steele <me@malcolmdavis.xyz>
2020-12-03 16:25:25 -06:00
CrazyMax
b0a38c7db9
Fix README
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-30 13:29:17 +01:00
CrazyMax
1471dfb80d
Handle multi-line secret value
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-17 21:38:51 +01:00
CrazyMax
d651be4597
Merge pull request #189 from jtomaszewski/patch-1
docs(README): Improve example of `file` option so it's obvious that it is not relative to `context` option
2020-11-06 14:34:22 +01:00
Jacek Tomaszewski
8832f2902d docs(README): Improve example of file option so it's obvious that it is not relative to context option
Signed-off-by: Jacek Tomaszewski <jacek@jtom.me>
2020-11-06 14:26:21 +01:00
CrazyMax
953dc85723
Simplify "Complete workflow" with Docker meta action
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-28 19:40:17 +01:00
Jesse Hills
fa61d38ad8
Add --ssh arg support
Signed-off-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2020-10-26 21:17:37 +13:00
CrazyMax
28262c0ab5
Improve README
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-22 21:50:22 +02:00
CrazyMax
07d2c320de
Fix build-args example
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-21 17:34:06 +02:00
CrazyMax
53401988c7
Labels and build args should not be handled as CSV type
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-20 19:05:16 +02:00
CrazyMax
fb848139a7
Update README
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-19 21:39:06 +02:00
Chase Pierce
7d32c994b7 update readme for dockerhub-description
peter-evans/dockerhub-description uses `with` syntax rather than env
now, reflect that change.

Signed-off-by: Chase Pierce <syntaqx@gmail.com>
2020-10-18 11:17:37 -06:00
CrazyMax
fb65f04b1e
Fix complete workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-08 15:11:44 +02:00
CrazyMax
3da3f281a0
Examples to push to multi-registries (#154) and cache to registry
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-04 01:24:41 +02:00
CrazyMax
ecc23e5785
Update README
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-03 23:03:47 +02:00
CrazyMax
c24a92baa4
Fix Git context
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-03 22:26:07 +02:00
CrazyMax
9b234cb12f
Changes
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-29 02:40:54 +02:00
CrazyMax
2b832c5b7e
Add upgrade notes
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-29 01:08:58 +02:00
CrazyMax
e952699f4d
Fix CI workflow and README
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-23 11:04:40 +02:00
CrazyMax
86856eb412
Expose Git secret token if default context used
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-22 20:49:18 +02:00
CrazyMax
65a1a173ac
Move to dedicated md
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-21 21:06:04 +02:00
CrazyMax
5281740ad2
Add Troubleshooting section
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-21 18:23:09 +02:00
CrazyMax
9d763a7ae2
Fxi README
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-17 13:27:14 +02:00
itchyny
cc21f01876 Improve example for OCI Image Spec annotations
Fill in title, description and url labels based on the repository information.
Use repository clone URL from `github.event` instead of an undocumented variable.
Fix licenses label to follow SPDX License Expressions.

Signed-off-by: itchyny <itchyny@hatena.ne.jp>
2020-09-16 03:32:04 +09:00
CrazyMax
f45dc4a7b8
Fix example
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-12 21:38:49 +02:00
CrazyMax
371daebc6f
Update example with explanations
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-12 20:40:18 +02:00
CrazyMax
dbdfd86c1d
Enhanced with OCI Image Format Specification labels
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-12 01:45:05 +02:00
CrazyMax
83b2aeab47
Add tags handling example
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-10 22:24:13 +02:00
CrazyMax
1f13e8e2d4
Use DockerHub Token
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-10 18:46:50 +02:00
CrazyMax
f5974ebd2b
Add example to update DockerHub repo description
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-10 01:14:47 +02:00
CrazyMax
c78f7c3517
Fix dependabot labels
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-09 16:18:06 +02:00
CrazyMax
1f582c9fe5
Merge pull request #109 from crazy-max/add-codecov
Add Codecov
2020-09-09 01:00:50 +02:00
CrazyMax
4f52913403
Set setup-buildx and setup-qemu actions to v1
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-09 00:32:40 +02:00
CrazyMax
894de2a378
Fix action name
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-09 00:03:47 +02:00
CrazyMax
6c053f55dc
Add Codecov
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-08 23:34:53 +02:00
CrazyMax
b4bae2181a
Simplify workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-08 11:26:06 +02:00
CrazyMax
c9c37b8060
Skip not needed
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-05 15:34:15 +02:00
CrazyMax
b0acf4a8d6
Add example with local registry
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-05 05:18:00 +02:00
CrazyMax
b563df09ad
Update README
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-02 10:44:39 +02:00
CrazyMax
f295fbf080
Add secrets input
Use Git as default context

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-02 10:07:11 +02:00
CrazyMax
bd6a01893d
Add isolated builders example
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-29 17:46:56 +02:00
CrazyMax
8954ded19b
Ignore comma sep for CSV inputs type
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-29 17:15:26 +02:00
CrazyMax
c124ff0226
Add GitHub cache example
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-29 16:10:05 +02:00
CrazyMax
d72873cd8f
Switch to docker/login-action
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-27 15:08:11 +02:00
CrazyMax
f11192a27b
Update README
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-21 17:31:03 +02:00
CrazyMax
aac8809ede
Fix TOC
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-20 17:28:17 +02:00
CrazyMax
a2059ed789
Add note about dependabot
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-20 17:25:55 +02:00
CrazyMax
a1114bb0a0
Fix name
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-20 15:09:19 +02:00
CrazyMax
ea664df512
Add badges and screenshot
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-19 21:46:12 +02:00
CrazyMax
52a6ac2d7a
Add ref
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-19 21:35:36 +02:00
CrazyMax
25fd13d2a5
Add complete workflow example
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-18 22:54:44 +02:00
CrazyMax
38c1f188ca
Add digest output
Fix platforms and allow inputs

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-17 22:18:37 +02:00
CrazyMax
2962fe9789
Remove bake support for now (future release or subaction)
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-17 18:26:46 +02:00
CrazyMax
e7964906a6
Use url fragment for git ref context
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-17 17:31:27 +02:00
CrazyMax
363c8ed24f
Treat platforms and allow as a list
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-17 02:32:27 +02:00
CrazyMax
1ae53ef326
Update README
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 23:34:08 +02:00
CrazyMax
5003e0df3d
Add Git context example
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 19:41:44 +02:00
CrazyMax
9c473659de
Check context type
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 19:13:19 +02:00
CrazyMax
8be103ff82
Handle build bake through bake, bake-files and bake-targets
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 17:18:08 +02:00
CrazyMax
01bd5c1fa9
Add allow input
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 07:07:06 +02:00
CrazyMax
78a1e0d9a3
Remove builder v1 support
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 05:53:50 +02:00
CrazyMax
25daa691dd
Typo
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 03:21:48 +02:00
CrazyMax
99bea387ee
Build push action v2
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 00:36:41 +02:00
Tõnis Tiigi
836357fa9e
Merge pull request #54 from mikemol/patch-1
Demonstrate simple ref tag
2020-07-16 09:08:40 -07:00
Ricardo Correa
5aca64f130 Update README.md
Add checkout step to examples.

Signed-off-by: Ricardo Correa <r.correa.r@gmail.com>
2020-07-16 12:09:10 +02:00
Michael Mol
6115ff08ad Demonstrate simple ref tag
Existing ref tag examples highlighted special cases, but none demonstrated the simplest branch case.

Signed-off-by: Michael Mol <mikemol@gmail.com>
2020-06-06 20:02:18 +00:00
Konosuke Kachi
68257a7f8a Fix typo
Signed-off-by: Konosuke Kachi <github@s.k-kachi.net>
2020-05-16 15:25:56 +09:00
Nick Adcock
92e7146349
Merge pull request #35 from docker/add-cache-from
Add cache_froms input to support --cache-from
2020-04-23 18:41:09 +01:00
Andrew Waters
4ca0e628b9 Add: explicit tag
Signed-off-by: Andrew Waters <waters@me.com>
2020-04-23 13:10:55 +01:00
Nick Adcock
abc498d7d3 Add cache_froms input to support --cache-from
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-04-22 16:34:18 +01:00
Andrew Waters
13d7e7a55b Adds GCR example
Signed-off-by: Andrew Waters <waters@me.com>
2020-04-16 14:07:17 +01:00
Nick Adcock
120f6587bc Clarify dockerfile and path inputs
Clarify the documentation for the dockerfile and path action inputs
including how they relate to each other.

Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-20 13:15:06 +00:00
Nick Adcock
7849e4a89e Add link to issues page
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-16 15:13:04 +00:00
Nick Adcock
1ccd3cd25b Minor corrections to readme and yml
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-06 15:01:36 +00:00
Nick Adcock
34907f0624 Fix spelling of delimited
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-06 13:55:12 +00:00
Nick Adcock
720bee6354 add_git_labels adds opencontainers labels
Setting the INPUT_ADD_GIT_LABELS env var to true adds labels as per the
opencontainers standard: https://github.com/opencontainers/image-spec/blob/master/annotations.md

The 3 labels supported are:
- org.opencontainers.image.created
- org.opencontainers.image.source
- org.opencontainers.image.revision

Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-06 13:51:14 +00:00
Nick Adcock
95dd02d438 Fixing nits with README
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-06 09:13:03 +00:00
Nick Adcock
b9dd5932a8 Add inputs and examples to readme
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-05 16:28:11 +00:00
Stephen Turner
aca1d86805
Initial commit 2020-02-17 11:35:29 +00:00