Commit graph

27 commits

Author SHA1 Message Date
Nick Santos
922550f064
context: only append flags if we know the driver supports them
Background: before this change, if i tried to use GHA with an experimental
driver, it would automatically append the flags

``
--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host
```

even if the underlying driver did not support them.

Signed-off-by: Nick Santos <nick.santos@docker.com>
2023-06-28 09:30:10 -04:00
CrazyMax
fc1a41d2e5
set node name for k8s driver when appending nodes
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-06-02 14:03:26 +02:00
CrazyMax
99988698a5
update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-09 09:42:37 +01:00
CrazyMax
8b13d483f2
cleanup input to remove builder and temp files
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-03 12:08:20 +01:00
CrazyMax
05ca2e6f5e
fix current context as builder name for docker driver
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-02 19:49:22 +01:00
CrazyMax
987520896f
switch to actions-toolkit implementation
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-02-25 13:27:17 +01:00
CrazyMax
39322d9057
don't depend on the GitHub API to check release
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-01-30 11:56:13 +01:00
CrazyMax
7c965aebec
use Octokit client to download buildx
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-01-28 01:48:35 +01:00
CrazyMax
1fb9cbdb32
escape surrounding quotes for platforms input
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-10-18 11:06:34 +02:00
CrazyMax
fe4c1ac86d
preserve quotes surrounding fields in input list
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-10-17 20:44:03 +02:00
CrazyMax
f6efb5fcbb
platforms input
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-10-14 11:47:46 +02:00
CrazyMax
2dfca373f3
append nodes to builder support
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-10-14 11:46:19 +02:00
CrazyMax
40fefd8a58
Remove workaround for setOutput
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-10-12 11:44:21 +02:00
CrazyMax
5a9fc40575
move args logic to context module and add tests
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-10-12 11:38:58 +02:00
CrazyMax
2e23606dc9
chore: update dev dependencies and workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-03-21 13:43:41 +01:00
CrazyMax
34e94a5fed
Add config-inline input
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-09-03 22:21:33 +02:00
CrazyMax
f40e8894f1
Allow building buildx from source
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-07-02 07:02:33 +02:00
CrazyMax
dffa64995b
Use core.getBooleanInput
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-06-23 15:43:25 +02:00
CrazyMax
72750233ac
Enhance builder inspection
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-04-23 18:14:58 +02:00
Gabriel Martinez
9b365965c1
Add config input
Signed-off-by: Gabriel Martinez <gabrielmartinez@sisti.pt>
2021-04-22 14:05:31 +01:00
CrazyMax
67730cc1c5
Exclude empty items from input list
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-12 23:34:53 +02:00
CrazyMax
583e11daec
Rename endpoint
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-08 15:52:09 +02:00
CrazyMax
48948ec5e2
Merge remote-tracking branch 'upstream/master' into add-context-input
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-08 11:31:08 +02:00
CrazyMax
1b18b1078f
Add context input (#16)
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-06 16:37:52 +02:00
CrazyMax
0fc9dc862b
Add support for more platform (crazy-max/ghaction-docker-buildx#223)
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-05 16:30:41 +02:00
CrazyMax
f8a909f091
Allow daemon side entitlements by default
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-03 20:38:04 +02:00
CrazyMax
d479e0f33a
driver-opt as array of inputs (renamed driver-opts)
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-03 16:23:15 +02:00