CrazyMax
b145473295
fix keep-state not being respected
...
Signed-off-by: CrazyMax <[email protected] >
2025-06-17 17:34:10 +02:00
CrazyMax
6c5e29d848
skip builder creation if one already exists with the same name
...
Signed-off-by: CrazyMax <[email protected] >
2025-06-13 18:37:56 +02:00
CrazyMax
36590ad0c1
check if driver compatible with keep-state
...
Signed-off-by: CrazyMax <[email protected] >
2025-06-13 18:31:37 +02:00
Balaji Arun and CrazyMax
4143b5899b
Support to retain cache
...
Signed-off-by: Balaji Arun <[email protected] >
2025-06-13 18:05:09 +02:00
Ashhar Hasan and CrazyMax
4ba329ef89
Remove aliases created by buildx when installing by default
...
If the action is configured to install buildx by default using the
input then docker buildx sets up docker build as an alias for buildx
making all docker build calls use the buildx builder instead of
traditional builders. The action didn't perform cleanup in this case to
uninstall the aliases which meant that any future workflows running on
same GitHub Actions runner would get the buildx builders even if it did
not explicitly request it.
This commit tracks if the aliases were installed and removes them during
post step of the action if so.
Signed-off-by: Ashhar Hasan <[email protected] >
2025-05-21 11:59:28 +02:00
CrazyMax
7199e57b35
make cloud prefix optional to download buildx if driver is cloud
...
Signed-off-by: CrazyMax <[email protected] >
2024-12-12 15:39:12 +01:00
CrazyMax
d391aad55c
remove uuid package and switch to crypto
...
Signed-off-by: CrazyMax <[email protected] >
2024-10-07 14:16:41 +02:00
CrazyMax
2874e980e8
switch back to uuid package
...
Signed-off-by: CrazyMax <[email protected] >
2024-10-04 09:34:00 +02:00
CrazyMax
e0e5ecf670
remove uuid package and switch to crypto
...
Signed-off-by: CrazyMax <[email protected] >
2024-10-03 09:15:20 +02:00
CrazyMax
818c69a4ea
always set buildkitd-flags if opt-in
...
Signed-off-by: CrazyMax <[email protected] >
2024-10-03 08:54:55 +02:00
CrazyMax
3382292cd5
check for malformed docker context
...
Signed-off-by: CrazyMax <[email protected] >
2024-07-29 18:24:18 +02:00
CrazyMax
8b850f86dc
create docker context if default one has TLS data loaded
...
Signed-off-by: CrazyMax <[email protected] >
2024-07-29 15:12:05 +02:00
CrazyMax
2f2694b8d1
switch to Docker exec
...
Signed-off-by: CrazyMax <[email protected] >
2024-07-19 13:05:34 +02:00
CrazyMax
830928c706
fix builder type path
...
Signed-off-by: CrazyMax <[email protected] >
2024-07-04 00:28:27 +02:00
CrazyMax
dc25d8b2ee
throw error message instead of exit code
...
Signed-off-by: CrazyMax <[email protected] >
2024-04-12 12:22:01 +02:00
CrazyMax
f876da6242
rename and align config inputs
...
Signed-off-by: CrazyMax <[email protected] >
2024-03-01 10:10:00 +01:00
CrazyMax
a4180f835d
cache-binary input to enable/disable caching binary to GHA cache backend
...
Signed-off-by: CrazyMax <[email protected] >
2024-02-23 10:57:39 +01:00
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 <[email protected] >
2023-06-28 09:30:10 -04:00
CrazyMax
fc1a41d2e5
set node name for k8s driver when appending nodes
...
Signed-off-by: CrazyMax <[email protected] >
2023-06-02 14:03:26 +02:00
CrazyMax
d267e74486
use new implementation from toolkit
...
Signed-off-by: CrazyMax <[email protected] >
2023-04-17 02:59:25 +02:00
CrazyMax
e2df91e851
check builder exists before removal
...
Signed-off-by: CrazyMax <[email protected] >
2023-03-10 00:05:22 +01:00
CrazyMax
85ce96bcbc
do not remove builder using the docker driver
...
Signed-off-by: CrazyMax <[email protected] >
2023-03-09 10:08:41 +01:00
CrazyMax
99988698a5
update generated content
...
Signed-off-by: CrazyMax <[email protected] >
2023-03-09 09:42:37 +01:00
CrazyMax
8b13d483f2
cleanup input to remove builder and temp files
...
Signed-off-by: CrazyMax <[email protected] >
2023-03-03 12:08:20 +01:00
CrazyMax
05ca2e6f5e
fix current context as builder name for docker driver
...
Signed-off-by: CrazyMax <[email protected] >
2023-03-02 19:49:22 +01:00
CrazyMax
987520896f
switch to actions-toolkit implementation
...
Signed-off-by: CrazyMax <[email protected] >
2023-02-25 13:27:17 +01:00
CrazyMax
6842354d08
Get releases from actions toolkit
...
Signed-off-by: CrazyMax <[email protected] >
2023-02-03 14:51:57 +01:00
CrazyMax
39322d9057
don't depend on the GitHub API to check release
...
Signed-off-by: CrazyMax <[email protected] >
2023-01-30 11:56:13 +01:00
CrazyMax
a8165e7b70
enforce baseUrl to api.github.com if action used on GHES
...
Signed-off-by: CrazyMax <[email protected] >
2023-01-28 02:44:08 +01:00
CrazyMax
7c965aebec
use Octokit client to download buildx
...
Signed-off-by: CrazyMax <[email protected] >
2023-01-28 01:48:35 +01:00
CrazyMax
1fb9cbdb32
escape surrounding quotes for platforms input
...
Signed-off-by: CrazyMax <[email protected] >
2022-10-18 11:06:34 +02:00
CrazyMax
fe4c1ac86d
preserve quotes surrounding fields in input list
...
Signed-off-by: CrazyMax <[email protected] >
2022-10-17 20:44:03 +02:00
CrazyMax
f6efb5fcbb
platforms input
...
Signed-off-by: CrazyMax <[email protected] >
2022-10-14 11:47:46 +02:00
CrazyMax
2dfca373f3
append nodes to builder support
...
Signed-off-by: CrazyMax <[email protected] >
2022-10-14 11:46:19 +02:00
CrazyMax
eb5c2a6eea
Fix deprecated fs.rmdir
...
Signed-off-by: CrazyMax <[email protected] >
2022-10-12 12:05:06 +02:00
CrazyMax
40fefd8a58
Remove workaround for setOutput
...
Signed-off-by: CrazyMax <[email protected] >
2022-10-12 11:44:21 +02:00
CrazyMax
5a9fc40575
move args logic to context module and add tests
...
Signed-off-by: CrazyMax <[email protected] >
2022-10-12 11:38:58 +02:00
CrazyMax
c6ec880f34
add tests for inspect parsing
...
Signed-off-by: CrazyMax <[email protected] >
2022-09-22 03:01:46 +02:00
CrazyMax
69d3837448
return driver opts and buildkit version from nodes metadata
...
Signed-off-by: CrazyMax <[email protected] >
2022-09-22 03:01:46 +02:00
CrazyMax
aa0df6f73a
nodes metadata JSON ouput
...
Signed-off-by: CrazyMax <[email protected] >
2022-09-22 03:01:45 +02:00
CrazyMax
1c2ad20e10
auth support for tls endpoint
...
Signed-off-by: CrazyMax <[email protected] >
2022-09-22 02:48:36 +02:00
CrazyMax
798ed00eea
skip setting buildkitd flags and config for remote driver
...
Signed-off-by: CrazyMax <[email protected] >
2022-09-16 18:12:29 +02:00
CrazyMax
3472856dd9
support standalone mode and display version
...
Signed-off-by: CrazyMax <[email protected] >
2022-04-17 17:22:11 +02:00
CrazyMax
2e23606dc9
chore: update dev dependencies and workflow
...
Signed-off-by: CrazyMax <[email protected] >
2022-03-21 13:43:41 +01:00
CrazyMax
34e94a5fed
Add config-inline input
...
Signed-off-by: CrazyMax <[email protected] >
2021-09-03 22:21:33 +02:00
CrazyMax
580d5c72a2
Explicit version spec for caching
...
Signed-off-by: CrazyMax <[email protected] >
2021-07-11 22:42:24 +02:00
CrazyMax
f40e8894f1
Allow building buildx from source
...
Signed-off-by: CrazyMax <[email protected] >
2021-07-02 07:02:33 +02:00
CrazyMax
d5b70f51d8
Fix docker: invalid reference format
...
Signed-off-by: CrazyMax <[email protected] >
2021-06-29 14:02:48 +02:00
CrazyMax
29f1eeb9e5
Use built-in getExecOutput
...
Signed-off-by: CrazyMax <[email protected] >
2021-06-23 16:11:57 +02:00
CrazyMax
dffa64995b
Use core.getBooleanInput
...
Signed-off-by: CrazyMax <[email protected] >
2021-06-23 15:43:25 +02:00