1
0
Fork 0
mirror of https://github.com/imjasonh/setup-crane synced 2026-07-06 22:52:45 +00:00
Commit graph

33 commits

Author SHA1 Message Date
Jason Hall
feee3b6bb0
Merge pull request #19 from imjasonh/copilot/quote-variables-in-conditions
Quote shell variables in setup action extraction path handling
2026-06-26 18:37:04 -04:00
copilot-swe-agent[bot]
706a72cba0
Quote remaining shell variables 2026-06-26 22:31:13 +00:00
copilot-swe-agent[bot]
9cac40f42e
Quote shell variables in action 2026-06-26 22:30:41 +00:00
Jason Hall
cacf280384
Merge pull request #15 from ekoops/patch-1
docs: fix crane `README.md` URL
2026-06-01 12:00:42 -04:00
Jason Hall
ee16abdb22
Merge branch 'main' into patch-1 2026-06-01 11:58:46 -04:00
Jason Hall
33cf3c9b78
Merge pull request #11 from jvliwanag/patch-1
Fix typo
2026-06-01 11:58:10 -04:00
Jason Hall
59c71e96a0
Merge pull request #18 from amouat/harden-action-env
Pass action inputs via env to prevent script injection
2026-06-01 11:46:20 -04:00
67f282ddd4
Update use-action.yaml 2026-06-01 11:43:59 -04:00
Adrian Mouat
9feaf12874
Pass action inputs via env to prevent script injection
Move inputs.version, runner.os, and github.token out of inline ${{ }}
interpolation and into a step-level env block, referenced as quoted
shell variables. This closes the script-injection vector on the
attacker-controllable version input and keeps the token out of the
rendered script. Behavior is unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-01 15:57:41 +01:00
Jason Hall
6da1ae0188
Merge pull request #17 from markusthoemmes/reliability
Skip release lookup and retry download errors
2026-02-04 10:31:23 -05:00
Markus Thömmes
a224f66917
Skip release lookup and retry download errors
This improves resiliency of the crane download. It skips the release lookup and uses a `latest` URL instead (dropping a request that can fail) and it adds retries to the actual download.
2026-02-04 11:15:58 +01:00
Jason Hall
7b22c9e892
Update README.md 2026-02-02 14:51:15 -05:00
Leonardo Di Giovanna
607d2fdc93
docs: fix crane README.md URL 2025-07-30 10:37:27 +02:00
Jason Hall
31b88efe9d
Merge pull request #12 from imjasonh/windows
update use-action for Windows
2024-06-11 13:05:58 -04:00
Jason Hall
54699f91ad
support and test Windows
Signed-off-by: Jason Hall <jason@chainguard.dev>
2024-06-11 13:00:16 -04:00
Jan Vincent Liwanag
59af3e6279
Fix typo 2024-03-26 16:44:25 +08:00
Jason Hall
00c9e93efa
update Go and crane versions used in CI test 2023-02-15 14:33:48 -05:00
Jason Hall
779a7240f2
Merge pull request #6 from bbednarek/imjasonh/setup-crane/issues/5
Download crane binary corresponding to underlying runner architecture
2023-02-15 13:48:03 -05:00
bbednarek
8a78c724ed
fix env variable 2023-02-15 17:27:44 +01:00
bbednarek
77ab8b6716
handle aarch64 and arm64 2023-02-15 17:19:05 +01:00
bbednarek
67a61a0d45
Download crane binary corresponding to underlying runner architecture 2023-02-15 16:53:00 +01:00
Jason Hall
e82f1b9a80
Merge pull request #3 from n3wscott/go1.18
use go install
2022-07-25 21:17:32 -04:00
Scott Nichols
ee5bee9817
use go install 2022-07-25 17:40:07 -07:00
Jason Hall
01d2668281 update README 2021-07-23 11:52:13 -04:00
Jason Hall
0201011286 fix use-action variable 2021-07-23 11:51:25 -04:00
Jason Hall
743562b092 fix readme, have action copy to ghcr.io 2021-07-23 11:34:26 -04:00
Jason Hall
5146f708a8 remove debug stuff 2021-07-23 11:28:00 -04:00
Jason Hall
46e1849f94 authorize request to get releases 2021-07-23 11:23:45 -04:00
Jason Hall
55478cc113 debug macos 2021-07-23 11:20:52 -04:00
Jason Hall
72e2d7a933 disable macos for now 2021-07-23 11:17:30 -04:00
Jason Hall
954ea7f737 crane auth login 2021-07-23 11:12:07 -04:00
Jason Hall
b245153677 add example action 2021-07-23 11:09:59 -04:00
Jason Hall
1deec50559 initial commit 2021-07-23 11:08:28 -04:00