114 Commits

Author SHA1 Message Date
CrazyMax
512e4e994b
Fix package name
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-17 02:28:28 +02:00
CrazyMax
fbd34eda32
Merge branch 'v2-working-branch' into v2-build-push
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-17 01:06:14 +02:00
Tõnis Tiigi
068cb8e418
Merge pull request #93 from docker/v2-fix-setup-actions
Fix and cleanup of v2 setup actions
2020-08-16 16:02:43 -07:00
CrazyMax
1ae53ef326
Update README
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 23:34:08 +02:00
CrazyMax
bf8b1bf979
Update ci workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 23:15:54 +02:00
CrazyMax
6ede7e932d
Fix cache restoreKeys
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 23:01:53 +02:00
CrazyMax
bd7ed33c45
Typo
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 22:43:08 +02:00
CrazyMax
1ca381eec1
Compute args order
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 22:41:18 +02:00
CrazyMax
444d7e9909
Add post run
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 22:38:03 +02:00
CrazyMax
22acf7cb32
Test GitHub Cache
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 22:31:37 +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
1c3fedb652
Use latest buildx for git context test
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 19:22:14 +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
10b9d7ec22
Fix context url
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 18:21:00 +02:00
CrazyMax
7086e3777e
Set file input
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 17:58:09 +02:00
CrazyMax
4bbd4aa946
Test git context
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 17:55:47 +02:00
CrazyMax
8913dd9900
Fix args
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 17:24:31 +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
b07bd1f9df
Fix ci workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 07:08:46 +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
82c243c14d
Add buildkitd-flags for setup-buildx
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 06:48:42 +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
807389ab0d
Increase tests timeout
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 04:27:36 +02:00
CrazyMax
6aa6546aaa
Fix dotenv
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 04:20:50 +02:00
CrazyMax
585c2ae3b7
Spelling
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 04:20:04 +02:00
CrazyMax
e9cb922263
Fix and cleanup of v2 setup actions
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 04:14:43 +02:00
CrazyMax
25daa691dd
Typo
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 03:21:48 +02:00
CrazyMax
f7cac3b071
Refactor Docker config
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 02:37:47 +02:00
CrazyMax
ac03ceb5e6
Check if buildx installed (builder alias)
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 02:30:03 +02:00
CrazyMax
6b0b71d882
Disable buildx push for now
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 01:58:05 +02:00
CrazyMax
1af8829102
Fix buildx condition
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 01:53:55 +02:00
CrazyMax
23410eee4e
Push to local registry
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 01:52:29 +02:00
CrazyMax
52102ad62f
Remove runner info step
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 01:51:39 +02:00
CrazyMax
320acb8414
Parse image reference before push
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 01:50:46 +02:00
CrazyMax
b15ad02902
No post proc
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 01:25:03 +02:00
CrazyMax
ea0c8ed90e
Handle push without buildx
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 01:23:25 +02:00
CrazyMax
f0ffce7351
Missing context
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 01:06:24 +02:00
CrazyMax
ba9a9528cd
Remove
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 01:04:36 +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
3f08c86128
Merge pull request #87 from docker/mono-action
Mono action
2020-08-14 11:03:27 -07:00
CrazyMax
4e201a2f03
Switch working branch
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-14 20:01:01 +02:00
CrazyMax
33f14d658e
Temp branch event trigger for our tests on v2 actions
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-14 19:55:34 +02:00
CrazyMax
ee3946b77e
Display available platforms
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-14 19:49:19 +02:00
CrazyMax
46bf3297bf
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-13 10:43:24 +02:00
CrazyMax
8f0f662386
Rename buildx-version input to version
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-13 10:42:57 +02:00
CrazyMax
c3b8f61f90
Improve stateHelper
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-12 23:10:28 +02:00
CrazyMax
e53a3da260
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-12 22:58:01 +02:00
CrazyMax
26b3a3b0cd
Small refactor
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-12 22:56:20 +02:00
CrazyMax
ec2628bb21
Update README
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-12 21:34:30 +02:00
CrazyMax
0cc5e42c7a
Add name output to identify builder instance name
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-12 20:27:50 +02:00
CrazyMax
b72149bbe7
Update workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-12 16:15:50 +02:00
CrazyMax
1ef57147e1
Update workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-12 16:00:25 +02:00
CrazyMax
5bb3f5433b
Check if buildx available on runner
Use default buildx on runner

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-12 15:58:09 +02:00
CrazyMax
15c6a86f2d
Add 'use' input
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-12 15:10:05 +02:00
CrazyMax
d0f7649930
Fix workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-12 14:10:08 +02:00
CrazyMax
5cec6ce786
Add driver and driver-opt inputs for setup-buildx
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-12 14:07:04 +02:00
CrazyMax
4bde7b156d
Dump context
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-12 02:13:00 +02:00
CrazyMax
8e7bb4ab28
Silent command
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-12 02:03:20 +02:00
CrazyMax
1886d9322f
Fix platforms extraction
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-12 02:02:19 +02:00
CrazyMax
4522dd93f5
Dump context composite
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-12 01:53:29 +02:00
CrazyMax
2ad38f5d19
Generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-12 01:49:41 +02:00
CrazyMax
2f906a9cb7
Output available platforms for setup-qemu
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-12 01:48:35 +02:00
CrazyMax
674ff6ada6
Trigger on master branch
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-11 22:55:56 +02:00
CrazyMax
3f39bb96b5
Dump contexts for testing purpose
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-11 22:24:25 +02:00
CrazyMax
a1eb1729d4
Update READMEs
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-11 21:58:01 +02:00
CrazyMax
66ba91a185
Use master tag
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-11 21:56:01 +02:00
CrazyMax
e3626b5cb1
Fix workflows
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-11 21:53:26 +02:00
CrazyMax
b943609390
Switch to tonistiigi/binfmt
Add platforms input to choose what platforms to install

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-11 21:49:46 +02:00
CrazyMax
7e439a0132
Move editorconfig
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-11 21:05:57 +02:00
CrazyMax
8d34fc9a8e
Update README
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-11 14:34:01 +02:00
CrazyMax
5290010a6f
Add install input to set buildx as default builder (#71)
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-11 14:34:00 +02:00
CrazyMax
925fee3dc9
Will be named docker/actions
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-11 14:34:00 +02:00
CrazyMax
f443d57e89
Example with QEMU
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-11 14:33:59 +02:00
CrazyMax
87d5297de8
Add qemu + buildx job
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-11 14:33:59 +02:00
CrazyMax
64d53ac2cf
Add setup-qemu action (#71)
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-11 14:33:58 +02:00
CrazyMax
36c90bc3ab
Fix setup-buildx test workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-11 14:33:58 +02:00
CrazyMax
6df1822dc3
Add setup-buildx action (#71)
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-11 14:33:49 +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
Tõnis Tiigi
8e21df3514
Merge pull request #75 from rcorrear/patch-1
Update README.md
2020-07-16 09:03:21 -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
Chris Crone
7cb863f593
Merge pull request #45 from gkkachi/fix-typo-gcr
Fix typo
2020-06-15 15:23:21 +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
v1.1.0
2020-04-23 18:41:09 +01:00
Nick Adcock
3ff814758e
Merge pull request #31 from andrew-waters/example-gcr
Adds GCR example
2020-04-23 13:14:11 +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
e5e36c4a4e
Merge pull request #19 from docker/release-v1.0.1
Use v1 of docker/github-actions image
v1.0.1
2020-03-23 11:44:03 +00:00
Nick Adcock
af185b4d18 Use v1 of docker/github-actions image
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-23 11:23:53 +00:00
Nick Adcock
57a738dc67
Merge pull request #16 from docker/clarify-paths
Clarify dockerfile and path inputs
2020-03-23 11:07:27 +00: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
434b33a73f
Merge pull request #8 from ScottBrenner/patch-1
Rename LICENCE to LICENSE
2020-03-19 10:41:36 +00:00
Scott Brenner
5b676d2d40 Rename LICENCE to LICENSE
Signed-off-by: Scott Brenner <scott@scottbrenner.me>
2020-03-17 18:43:10 -07:00
Nick Adcock
a226a12549
Merge pull request #6 from docker/release-v1
Add blue anchor branding
v1.0.0 v1.0
2020-03-16 16:59:49 +00:00
Nick Adcock
c062788367 Add blue anchor branding
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-16 16:51:17 +00:00
Nick Adcock
0e923b8a2c
Merge pull request #5 from docker/release-v1
Add link to issues page
2020-03-16 15:19:54 +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
60bd14a051
Merge pull request #4 from docker/release-v1
Use v1.0 of github-actions image
2020-03-16 14:47:35 +00:00
Nick Adcock
67d415fdb9 Use v1.0 of github-actions image
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2020-03-16 14:40:53 +00:00