Commit graph

46 commits

Author SHA1 Message Date
Ashhar Hasan
fdd372a0be 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 <hashhar_dev@outlook.com>
2022-04-25 12:37:22 +05:30
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
a8ba68b618
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-10-04 13:42:40 +02: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
93fe949311
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-08-20 10:56:04 +02:00
CrazyMax
580d5c72a2
Explicit version spec for caching
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-07-11 22:42:24 +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
d5b70f51d8
Fix docker: invalid reference format
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-06-29 14:02:48 +02:00
CrazyMax
eef74457f7
Update dev deps
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-06-23 17:03:04 +02:00
CrazyMax
29f1eeb9e5
Use built-in getExecOutput
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-06-23 16:11:57 +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
2323559062
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-06-23 14:59:36 +02:00
CrazyMax
9db0a23fb3
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-06-23 14:26:04 +02:00
CrazyMax
11ae4c31f6
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-06-23 13:56:24 +02:00
CrazyMax
68810d1ede
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-05-30 16:41:24 +02:00
CrazyMax
f080c7125b
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-05-25 02:52:57 +02:00
CrazyMax
36d8e005ca
Display BuildKit version
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-04-28 18:09:01 +02:00
CrazyMax
881cacd606
Remove os limitation
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-04-23 22:43:09 +02:00
CrazyMax
5b1c96aee8
Display BuildKit container logs
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-04-23 22:08:45 +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
2913c18445
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-04-16 14:49:12 +02:00
CrazyMax
04f80b2fda
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-04-03 21:28:07 +02:00
CrazyMax
cb02c5f3d1
Enhance workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-04-02 01:19:20 +02:00
CrazyMax
31740423d9
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-03-23 18:24:17 +01:00
CrazyMax
8f7787f9f5
Revert "Merge pull request #46 from crazy-max/disable-clipping"
This reverts commit 87e1457170, reversing
changes made to 370507b713.

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-01-05 13:34:14 +01:00
CrazyMax
467d3396dc
Tweak BuildKit step log limits
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-01-04 22:45:04 +01:00
CrazyMax
0ddb9e80d4
Override the configured builder instance
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-01-04 19:04:04 +01:00
CrazyMax
db0ae322da
Improve builder name generation
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-01-02 00:54:57 +01:00
CrazyMax
ca778fe8a3
Remove hardcoded buildkit container image moby/buildkit:v0.8-beta
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-06 11:11:17 +01:00
CrazyMax
a999bae018
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-05 07:17:58 +01:00
CrazyMax
f9ddc94e27
Group log output
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-20 22:30:00 +02:00
CrazyMax
bd58e36ac7
Bump @actions/http-client from 1.0.8 to 1.0.9
Bumps [@actions/http-client](https://github.com/actions/http-client) from 1.0.8 to 1.0.9.
- [Release notes](https://github.com/actions/http-client/releases)
- [Changelog](https://github.com/actions/http-client/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/http-client/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-13 20:34:51 +02:00
CrazyMax
d4577a64b2
Temporarly set buildkit container image to moby/buildkit:v0.8-beta
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-05 20:19:28 +02:00
CrazyMax
84de361baa
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-29 01:15:45 +02: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
0be6f6575b
Check buildx version
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-03 21:02:36 +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
Tonis Tiigi
48f3bdf114 support for docker driver
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-08-26 17:49:36 -07:00
CrazyMax
3d7e3b5dc4
Move zeit/ncc to vercel/ncc
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-21 13:39:56 +02:00
CrazyMax
04eaa7c789
Initial commit (docker/build-push-action#87)
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-18 17:40:31 +02:00