Claude
ab514e31b5
*: introduce a setup-only mode to the build-push-action
...
This setup-only mode will setup a docker builder with the stickydisk
mounted but will not run a Docker build. The use case here is to allow
customers to then run their custom Tilt files or Docker commands against
our builder. The other subtle change is that we only cleanup in the post
step of this builder action. It is still to be seen if you can start several
of these builders at the same time in a workflow but we can do that as a follow
on.
8 months ago
Aayush Shah
f8d1c2e2ae
*: normalize file paths in all cases ( #104 )
10 months ago
Aayush
8554acbf59
src: prevent path duplication when dockerfile is within context
12 months ago
Aayush Shah
c03b613806
use local dockerfile path over git context ( #86 )
12 months ago
Aayush Shah
7b8642822f
src: make `getDockerfilePath` return the full path to the dockerfile ( #64 )
...
Previously we were just returning the path to the dir containing the dockerfile
in most cases.
1 year ago
Aayush Shah
ed90c2b818
log the input context as well as the final context ( #39 )
1 year ago
Aditya Maru
31a478457f
*: hit sentry on failures to get remote docker builders
1 year ago
Aditya Maru
d778ef8660
*: ignore the inputs builder
1 year ago
Aditya Maru
3b1df39d5d
*: teach action to hot load sticky disks
...
This change teaches the build push action to request a stickydisk
every time it runs. Once the SD is hotloaded the VM will mount
the buildkit root dir and starts buildkitd.
1 year ago
Aayush Shah
3f6698f877
tls ( #12 )
...
* tls
* set up tls while creating the remote builder
1 year ago
Aayush
5158225acc
normalize dockerfile paths
1 year ago
Aayush Shah
294f759b05
add a `fallback` input ( #7 )
1 year ago
Aayush
cb250fea79
plumb through the dockerfile path when creating a build_task
1 year ago
Aditya Maru
29a5593aa1
*: basic scaffolding for build-push-action
...
1. Checks we have buildx installed
2. Configures a remote builder if we get an address back
3. Uses the already configured builder if we don't get an address back
This change does not plumb the dockerfile path through as the entity,
and does not differentiate a failed build from a succesful to report
to anvil in the post step yet.
1 year ago
CrazyMax
d189d0ef33
Revert "set repository and ghtoken attributes for gha cache type"
...
This reverts commit 522345f555 .
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 year ago
CrazyMax
522345f555
set repository and ghtoken attributes for gha cache type
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 year ago
CrazyMax
d880b1964b
generate build summary
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2 years ago
CrazyMax
54d0f58d64
fixes related to actions-toolkit 0.23.0 changes
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2 years ago
CrazyMax
1d5307d7af
align interface fields with action inputs
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2 years ago
CrazyMax
eb3cfeaf00
switch to new Build class
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2 years ago
CrazyMax
96acf63e4c
handle attests correctly with provenance and sbom inputs
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2 years ago
CrazyMax
6c2079483e
disable quotes detection for "outputs" input
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2 years ago
favonia
8411d080ee
feat: warn about ignored inputs
...
Currently, several inputs can be silently ignored without
any warnings. This change will issue a warning for each
ignored input with a short explanation.
Signed-off-by: favonia <favonia@gmail.com>
2 years ago
CrazyMax
248131c7bf
add `annotations` input
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
Elias Lundgren
5f01267817
feat: add secret-envs input
...
Signed-off-by: Elias Lundgren <145569914+elias-lundgren@users.noreply.github.com>
2 years ago
CrazyMax
a54198e85a
use new implementation from toolkit
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
CrazyMax
b3435979d1
use methods from toolkit to handle provenance attrs
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
CrazyMax
d8823bfaed
switch to actions-toolkit implementation
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
CrazyMax
f403dafe18
revert disable provenance by default if not set
...
This partially reverts 337a09d182 but
keeps the newly added tests.
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
CrazyMax
337a09d182
disable provenance by default if not set
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
CrazyMax
0191543e0b
fix provenance input
...
When `provenance: false`, we should not set the builder-id.
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
CrazyMax
9b96801525
Revert build-args newline split
...
This reverts commit 6afac853c9 , reversing
changes made to 1d910c8aa2 .
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
ruslandoga
316d5eb8b3
build-args newline split
...
Signed-off-by: ruslandoga <67764432+ruslandoga@users.noreply.github.com>
3 years ago
CrazyMax
0cb700ffba
do not set default provenance if user wants to load the image
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
CrazyMax
ee7989df81
always set builder-id attribute for provenance
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
CrazyMax
74f883a069
check BuildKit compatibility before setting default provenance opts
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
CrazyMax
26ce4f3617
provenance: set mode max and builder-id for public repos by default
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
CrazyMax
ed2672fc33
add `attests`, `provenance` and `sbom` inputs
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
CrazyMax
75aaa63262
Remove workaround for setOutput
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
CrazyMax
30a32246ba
Fix GitHub token not passed with Git context if subdir defined
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
CrazyMax
5ffbca1432
`no-cache-filters` input
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
CrazyMax
38b45804b5
Standalone mode support
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
4 years ago
CrazyMax
5ea21bf2ba
Fix csv-parse implementation since major update
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
4 years ago
CrazyMax
2d081a4fd5
chore: update dev dependencies and workflow
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
4 years ago
CrazyMax
7c41daf2a5
`build-contexts` input
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
4 years ago
CrazyMax
d7458455bb
Fix add-hosts context
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
4 years ago
CrazyMax
eebf87aed1
`add-host` input
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
4 years ago
Jim Brännlund
fc5a732e0c
Add subdirectory for Git context
...
Since v0.9.0 of BuildKit (BuildX v0.7.0) you can provide a subdirectory
to the default Git context.
Closes #460
Closes #528
Signed-off-by: Jim Brännlund <jimbrannlund@fastmail.com>
4 years ago
CrazyMax
67ff4df4b7
add `cgroup-parent`, `shm-size`, `ulimit` inputs
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
4 years ago
CrazyMax
91274a04da
sort flags
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
4 years ago