Commit graph

132 commits

Author SHA1 Message Date
CrazyMax
91520dfd9f
Don't set outputs if empty or nil
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-09-24 16:49:17 +02:00
CrazyMax
8ba85ead00
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-09-03 13:18:53 +02:00
CrazyMax
5681933133
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-09-02 18:35:05 +02:00
CrazyMax
6a98f97e24
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-08-20 11:05:00 +02:00
CrazyMax
c0b121fe44
Add metadata output
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-08-16 23:44:35 +02:00
CrazyMax
fcaaa5e487
Small typo and ensure trimmed output
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-07-01 16:55:34 +02:00
CrazyMax
94827201d1
Handle git sha version of buildx
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-07-01 15:29:36 +02:00
CrazyMax
ae29b67b96
Update dev deps
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-06-23 19:21:28 +02:00
CrazyMax
a437a4518f
Use built-in getExecOutput
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-06-22 19:52:26 +02:00
CrazyMax
9199c83f6e
Use core.getBooleanInput
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-06-22 17:25:57 +02:00
CrazyMax
9cbc67d577
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-06-22 15:44:18 +02:00
CrazyMax
90850ba046
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-06-22 15:30:39 +02:00
CrazyMax
ecbc0634e4
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-06-22 14:46:28 +02:00
CrazyMax
57f367c048
Enhance console output
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-05-26 14:26:38 +02:00
CrazyMax
74242a33cc
Merge pull request #347 from crazy-max/fix-ref-spec
Fix ref spec for default Git context
2021-05-26 13:00:32 +02:00
CrazyMax
5ac438e8df
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-05-25 00:02:51 +02:00
CrazyMax
c9589d1941
Preserve quotes inside unquoted field
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-05-23 02:41:02 +02:00
CrazyMax
11f0499b05
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-05-18 20:49:30 +02:00
CrazyMax
5e92e6623e
Fix setOutput
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-04-27 16:30:22 +02:00
CrazyMax
d619a7ff00
Remove os limitation
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-04-27 16:16:28 +02:00
CrazyMax
19c07384dc
Fix ref spec for default Git context
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-04-26 11:04:27 +02:00
CrazyMax
c0c3e27be3
Merge pull request #345 from docker/dependabot/npm_and_yarn/csv-parse-4.15.4
Bump csv-parse from 4.15.3 to 4.15.4
2021-04-16 13:25:50 +02:00
CrazyMax
6e53d9494f
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-04-16 13:22:09 +02:00
CrazyMax
01f4a7369d
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-04-16 13:20:36 +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
8f5c91aad9
Handle GitHub server URL for default context
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-04-01 20:07:51 +02:00
CrazyMax
3c2d8e5269
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-03-29 23:47:36 +02:00
CrazyMax
af867d4937
Merge pull request #296 from crazy-max/secret-file
Allow to use secret file mount
2021-02-16 13:15:29 +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
CrazyMax
d2bc6a5d16
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-02-14 22:41:16 +01: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
35ab0dd217
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-17 23:16:55 +01:00
CrazyMax
a29353b5c7
Merge pull request #243 from docker/dependabot/npm_and_yarn/semver-7.3.4
Bump semver from 7.3.2 to 7.3.4
2020-12-05 03:50:01 +01:00
CrazyMax
241c03788f
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-05 03:45:58 +01:00
CrazyMax
13137a8f9b
Trim input list items
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-05 03:40:44 +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
35f1834293
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-06 14:56:57 +01:00
Jesse Hills
6e7bd99c53
Run yarn pre-checkin again
Signed-off-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2020-10-27 07:56:10 +13: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
Mathieu Bergeron
8616d520af Update dist/index.js
Signed-off-by: Mathieu Bergeron <mathieu.bergeron@nuecho.com>
2020-10-23 15:02:42 -04:00
Mathieu Bergeron
fc7e9a2b38 Fix parsing of secrets containing '=' character
Signed-off-by: Mathieu Bergeron <mathieu.bergeron@nuecho.com>
2020-10-23 13:31:33 -04:00
CrazyMax
de804a56b7
Throw error message instead of exit code
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-21 21:07:57 +02:00
CrazyMax
29cf8ab8dc
Enable iidfile for multi-platform
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-21 09:51:12 +02:00
CrazyMax
71d586a48c
Fix tmpDir and defaultContext func
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-21 02:46:46 +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
6751eb6bd5
Local if no type is defined for output
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-20 17:53:03 +02:00
CrazyMax
bf051e6237
Use csv-parse lib to parse outputs
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-20 15:18:07 +02:00
CrazyMax
75727aa23f
Better parsing of outputs
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-19 22:12:33 +02:00
CrazyMax
08566ae0e1
Do not set --iidfile flag if local and tar exporters are used
More tests for context module

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-19 21:17:12 +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
4dd58f369e
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-29 01:19:32 +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
90d197d06b
Exclude empty items from input list
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-05 02:52:09 +02:00
CrazyMax
cf9301c704
Use --builder
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-03 11:49: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
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
995fe3c38a
Fix tests
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-23 04:01:20 +02:00
CrazyMax
3e57a3300a
Check Buildx version
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-23 03:31:38 +02:00
CrazyMax
1c21811610
Move zeit/ncc to vercel/ncc
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-21 13:39:42 +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
44d05b9191
Remove GitHub Cache support for now (future release or buildkit cache provider?)
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-17 18:35:15 +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
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
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
22acf7cb32
Test GitHub Cache
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 22:31:37 +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
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
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
585c2ae3b7
Spelling
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 04:20:04 +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
1af8829102
Fix buildx condition
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 01:53:55 +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
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
99bea387ee
Build push action v2
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 00:36:41 +02:00