Commit Graph

128 Commits

Author SHA1 Message Date
CrazyMax
db5c712dec
buildx: build for local platform
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-07-12 14:15:26 +02:00
CrazyMax
c1edd0b5e3
buildx: improve vspec fingerprint for caching
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-07-06 16:16:12 +02:00
CrazyMax
70c0e12f74
util: trimPrefix and trimSuffix methods
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-07-06 16:15:15 +02:00
CrazyMax
ddcd63c92a
buildx: cache binary to hosted tool cache and GHA cache backend
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-07-06 16:15:15 +02:00
CrazyMax
ab02f62089
buildx: handle new fields for inspect output
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-06-16 22:28:21 +02:00
CrazyMax
495c96b050
Merge pull request #115 from crazy-max/input-comment-opt
util: comment opt for getInputList
2023-06-13 10:31:11 +02:00
CrazyMax
b1e0aeed50
Merge pull request #114 from crazy-max/docker-config
docker: configFile method
2023-06-12 19:32:33 +02:00
CrazyMax
b2a51dd6b4
git: use GitHub API for remoteSha if token provided
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-06-12 19:20:42 +02:00
CrazyMax
8ad595b445
buildx: install from private repo support
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-06-09 17:56:36 +02:00
CrazyMax
9450a454a7
util: comment opt for getInputList
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-06-09 14:11:57 +02:00
CrazyMax
a7221012c8
docker: configFile method
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-06-09 00:02:06 +02:00
CrazyMax
f05a598a08
Merge pull request #112 from crazy-max/fix-git-ref
git: fall back to git tag in detached HEAD state
2023-06-07 15:17:00 +02:00
CrazyMax
fc85cef9e1
git: fall back to git tag in detached HEAD state
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-06-07 14:57:37 +02:00
CrazyMax
a5b683b46e
Merge pull request #111 from crazy-max/fix-buildx-build-err
buildx(install): throw error on failed build
2023-06-07 14:54:24 +02:00
CrazyMax
e072607266
buildx(install): throw error on failed build
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-06-05 10:19:30 +02:00
Vinicius Reis
a1ffbe9606
Add support to secret env 2023-06-01 10:19:50 -03:00
CrazyMax
dba2a69f61
bake: missing overrides when parsing definition
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-04-18 14:16:46 +02:00
CrazyMax
26d9901f07
Merge pull request #84 from crazy-max/bake-toolkit
toolkit: add bake
2023-03-28 08:56:30 +02:00
CrazyMax
462c95e83d
toolkit: add bake
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-28 08:51:43 +02:00
CrazyMax
2d1ce9a223
bake: check for empty source
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-27 17:52:54 +02:00
CrazyMax
61527248dd
Merge pull request #77 from crazy-max/fix-tc-cache
buildx: set consistent platform when caching binary
2023-03-26 20:43:07 +02:00
CrazyMax
e9aa8365e3
bake: workdir support for parsing definitions
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-26 19:42:37 +02:00
CrazyMax
a7448298e0
bake: fix undefined output property
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-26 19:26:59 +02:00
CrazyMax
314f8f431e
bake: support remote definition when parsing
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-25 17:06:09 +01:00
CrazyMax
7fb0476dc8
util: isValidRef method
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-25 16:01:24 +01:00
CrazyMax
9b9ff70b75
util: fix isValidURL
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-25 16:01:10 +01:00
CrazyMax
e7eee6e401
buildx: set consistent platform when caching binary
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-25 13:58:21 +01:00
CrazyMax
041d9693ab
Merge pull request #71 from crazy-max/bake
bake class to parse definitions and handle exporters type
2023-03-13 09:49:01 +00:00
CrazyMax
39158d8047
bake class to parse definitions and handle exporters type
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-13 10:44:48 +01:00
CrazyMax
03977693c1
buildx: make inputs methods static
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-12 23:40:54 +01:00
CrazyMax
94febd1da7
builder: fix regex to parse driver-opts
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-11 16:48:56 +01:00
CrazyMax
32af66cb28
builder: exists method
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-03 14:49:22 +01:00
CrazyMax
50c11e6dce
docker: support latest on install
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-03 14:07:27 +01:00
CrazyMax
dfc72fd31c
docker: allow custom context name on install
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-03 10:40:00 +01:00
CrazyMax
fda3be9699
Merge pull request #58 from crazy-max/docker-install
docker: install, download and tearDown methods
2023-03-02 15:58:16 +01:00
CrazyMax
53ca96fcc4
Merge pull request #55 from crazy-max/git-context
git: alternative github context and additional methods
2023-03-02 15:50:12 +01:00
CrazyMax
70390c899b
docker: tearDown method
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-02 15:39:26 +01:00
CrazyMax
ac9d9d9a1b
docker: detach dockerd for linux install
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-02 15:39:26 +01:00
CrazyMax
3c2fe5ddb2
docker: move assets to ts
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-02 15:39:26 +01:00
CrazyMax
3b532d1b91
docker: install with custom runDir
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-02 15:39:25 +01:00
CrazyMax
93fa96f54f
docker: install for linux
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-02 15:39:24 +01:00
CrazyMax
3ec6f00f46
docker: custom colima cfg on install
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-02 15:39:24 +01:00
CrazyMax
4d66b2fa08
docker: install and download methods for macos and windows
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-02 15:39:24 +01:00
CrazyMax
964381b7e9
move docker under dedicated folder
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-02 15:39:24 +01:00
CrazyMax
6fe7d54029
docker: fix context command
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-02-25 16:40:35 +01:00
CrazyMax
8a69d6cb01
git: alternative github context and additional methods
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-02-25 12:37:09 +01:00
CrazyMax
1cc5fc87fb
Merge pull request #56 from crazy-max/docker-context
docker: context method
2023-02-25 12:24:04 +01:00
CrazyMax
97e647fdd0
docker: context method
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-02-25 12:20:06 +01:00
CrazyMax
9128f56258
builder: fix breaking change on node fields
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-02-24 19:41:10 +01:00
CrazyMax
99487d6986
docker: check command using actions/io module
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-02-21 08:40:27 +01:00