185 Commits
Author SHA1 Message Date
Carlos Tadeu Panato Junior 881c63bd87 Bump Cosign to v3.1.5 (#259)
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
v4.1.4
2026-11-24 11:44:50 -05:00
dependabot[bot] 5f3ce9ff1d Bump actions/setup-go from 7.0.0 to 7.1.0 (#258) 2026-11-23 01:16:04 -05:00
Hayden 756fe2d284 Bump Cosign to v3.1.4 (latest release) (#257)
Signed-off-by: Hayden <8418760+Hayden-IO@users.noreply.github.com>
v4.1.3
2026-11-04 13:25:34 -05:00
dependabot[bot] b9c35392b7 Bump actions/setup-go from 6.4.0 to 7.0.0 (#249)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 6.4.0 to 7.0.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/4a3601121dd01d1626a1e23e37211e3254c1c06c...b7ad1dad31e06c5925ef5d2fc7ad053ef454303e)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-13 16:35:28 -04:00
Bob Callaway 84205a0ae0 close race on windows due to reusing filename (#253)
Signed-off-by: Bob Callaway <bcallaway@google.com>
2026-10-13 16:29:08 -04:00
E Shattow af595e623e Bump cosign to 3.1.3 (#252) 2026-10-04 08:48:55 -07:00
Nadav Shatz 828df1e55d fix: harden curl download retries against transient GitHub CDN 504s (#240)
PR #210 added `curl --retry 3` to the release downloads to address the
transient network failures reported in #209. With curl's default
exponential backoff, 3 retries give up after only ~7s (1s + 2s + 4s).

Real GitHub release-CDN gateway-timeout (HTTP 504) windows last longer
than that. On a version that already includes #210 we saw the bootstrap
download (cosign-linux-amd64) 504 four times across an ~18s window, after
which curl exhausted its retries and the job died with exit code 22.

Strengthen the retry behaviour for every release download:

- Make the retry count configurable via a new `curl-retries` input,
  defaulting to 6 (also honours a pre-set CURL_RETRIES env var).
- Apply a fixed 5s `--retry-delay`, `--retry-all-errors`, and a 120s
  `--retry-max-time` ceiling to all six curl calls via a shared
  CURL_RETRY_OPTS array, so a single failing download stays bounded.

6 retries at a fixed 5s delay cover ~30s of CDN flakiness, comfortably
riding out the ~18s windows we observed. All checksum and signature
verification is unchanged.

Signed-off-by: Nadav Shatz <nadav@tailorbrands.com>
2026-09-10 10:30:18 +02:00
dependabot[bot] 874852de93 Bump actions/checkout from 6.0.2 to 7.0.1 (#250) 2026-07-27 09:19:32 +02:00
Bob Callaway 3094a48ba0 wrap path in quotes for powershell (#246)
Signed-off-by: Bob Callaway <bcallaway@google.com>
2026-07-01 10:32:22 -04:00
Bob Callaway e246ae3620 test minimum of 1.26 given cosign requirement (#247)
Signed-off-by: Bob Callaway <bcallaway@google.com>
2026-07-01 09:56:48 -04:00
E Shattow 6f9f177880 Bump cosign to 3.0.6 (#232) v4.1.2 2026-05-06 18:25:05 -07:00
dependabot[bot] b5e753ae2d Bump actions/github-script from 8.0.0 to 9.0.0 (#230)
Bumps [actions/github-script](https://github.com/actions/github-script) from 8.0.0 to 9.0.0.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/ed597411d8f924073f98dfc5c65a23a2325f34cd...3a2844b7e9c422d3c10d287c895573f7108da1b3)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-version: 9.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-13 08:07:18 +02:00
dependabot[bot] 115e4ce455 Bump actions/setup-go from 6.3.0 to 6.4.0 (#226)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/4b73464bb391d4059bd26b0524d20df3927bd417...4a3601121dd01d1626a1e23e37211e3254c1c06c)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: 6.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-30 08:28:21 +02:00
Richard Clarke cad07c2e89 chore: update default cosign-release to v3.0.5 (#223)
Aligns the default cosign-release input with the bootstrap version.

Signed-off-by: rsclarke <hey@rsclarke.dev>
v4.1.1
2026-03-25 21:19:57 -07:00
Jose Fernandez ba7bc0a3fe fix: add retry to curl downloads for transient network failures (#210)
Transient network errors during the cosign download can cause the
action to fail. This is particularly problematic when the action runs
after images have been pushed to a registry, resulting in unsigned
images.

Add --retry 3 to all curl calls. By default, curl uses exponential
backoff: it waits 1 second before the first retry, then doubles the
wait time for each subsequent retry up to a maximum of 10 minutes. It
also respects Retry-After headers in the response.

Closes: https://github.com/sigstore/cosign-installer/issues/209

Signed-off-by: Jose Fernandez <me@jrfernandez.com>
v4.1.0
2026-03-09 10:23:00 -07:00
Jussi Kukkonen 5a292e1504 Bump cosign to 3.0.5 (#220)
* Upgrade to newest cosign version
* Also tweak README to mitigate issue #219: Do not promote the use of
  "cosign-release" argument

Signed-off-by: Jussi Kukkonen <jkukkonen@google.com>
2026-03-09 10:21:58 -07:00
dependabot[bot] 351ea76151 Bump actions/checkout from 6.0.1 to 6.0.2 (#217)
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/8e8c483db84b4bee98b60c0593521ed34d9990e8...de0fac2e4500dabe0009e67214ff5f5447ce83dd)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-08 09:00:25 -04:00
Bob Callaway c17565ff32 test with go 1.26 too (#221) 2026-03-08 13:55:45 +01:00
dependabot[bot] a6fdd19182 Bump actions/setup-go from 6.1.0 to 6.3.0 (#218) 2026-03-02 05:23:43 +01:00
MaineK00n 430b6a704f docs: fix registry from gcr.io to ghcr.io (#213)
Signed-off-by: MaineK00n <mainek00n.1229@gmail.com>
2026-01-14 14:24:03 +01:00
Carlos Alexandro Becker 4d14d7f17e feat: update to v3.0.3 (#212)
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-12-23 09:55:13 +01:00
Daniel Hast f14800521e fix: use env vars for template expansions; show curl errors (#207)
* fix: use env vars for template expansions; show curl errors

* Use environment variables to avoid template expansions in code
  contexts, which could potentially result in code injection.
* Use `-S` option with `curl` so error output is not suppressed, which
  should result in more informative output when the installer fails due
  to network issues.
* Double-quote shell variable expansions to prevent unintended word
  splitting and globbing.

Signed-off-by: Daniel Hast <hast.daniel@protonmail.com>

* fix: substitute env vars in inputs.install-dir

Signed-off-by: Daniel Hast <hast.daniel@protonmail.com>

---------

Signed-off-by: Daniel Hast <hast.daniel@protonmail.com>
2025-12-18 16:54:46 -05:00
dependabot[bot] c3f2d79008 Bump actions/checkout from 6.0.0 to 6.0.1 (#208)
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/1af3b93b6815bc44a9784bd300feb67ff0d1eeb3...8e8c483db84b4bee98b60c0593521ed34d9990e8)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-16 08:45:43 +01:00
Carlos Tadeu Panato Junior b9a9af4616 drop tests with go1.24 as it cant build (#211)
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2025-12-15 12:27:58 -05:00
dependabot[bot] 29bcfa8619 Bump actions/checkout from 5.0.0 to 6.0.0 (#205) 2025-11-24 04:40:01 +01:00
dependabot[bot] 78c93297f6 Bump actions/setup-go from 6.0.0 to 6.1.0 (#206) 2025-11-24 04:39:30 +01:00
Bob Callaway dbac2a8ede fix path that was unix-centric (#204)
* fix path that was unix-centric

Signed-off-by: Bob Callaway <bcallaway@google.com>

* add back missing ./

Signed-off-by: Bob Callaway <bcallaway@google.com>

---------

Signed-off-by: Bob Callaway <bcallaway@google.com>
2025-10-27 10:16:31 -04:00
Bob Callaway faadad0cce add support for cosign v3 releases (#201)
* add support for cosign v3.0.1 release

Signed-off-by: Bob Callaway <bcallaway@google.com>

* use version num instead

Signed-off-by: Bob Callaway <bcallaway@google.com>

* add cert flags, move key fetch into v2 clause

Signed-off-by: Bob Callaway <bcallaway@google.com>

* update for v3.0.2 release

Signed-off-by: Bob Callaway <bcallaway@google.com>

* use helper function

Signed-off-by: Bob Callaway <bcallaway@google.com>

* temporarily comment out the exit to test kms sig verification

Signed-off-by: Bob Callaway <bcallaway@google.com>

* add another comment - temporary

Signed-off-by: Bob Callaway <bcallaway@google.com>

* remove comments for final mergeable fix

Signed-off-by: Bob Callaway <bcallaway@google.com>

* recommend v2.6.0 or later

Signed-off-by: Bob Callaway <bcallaway@google.com>

---------

Signed-off-by: Bob Callaway <bcallaway@google.com>
v4.0.0
2025-10-13 11:56:03 -04:00
Hayden d7543c93d8 Bump default Cosign to v2.6.0 (#200) v3.10.0 2025-09-13 00:03:18 +02:00
dependabot[bot]andCarlos Tadeu Panato Junior 920f20f8c1 Bump actions/setup-go from 5.5.0 to 6.0.0 (#199)
* Bump actions/setup-go from 5.5.0 to 6.0.0

Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.5.0 to 6.0.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/d35c59abb061a4a6fb18e82ac0862c26744d6ab5...44694675825211faa026b3c33043df3e48a5fa00)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update Go version in test workflow

Signed-off-by: Carlos Tadeu Panato Junior <ctadeu@gmail.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Carlos Tadeu Panato Junior <ctadeu@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Carlos Tadeu Panato Junior <ctadeu@gmail.com>
2025-09-12 13:31:44 -07:00
dependabot[bot] bb9dfc10d2 Bump actions/github-script from 7.0.1 to 8.0.0 (#198)
Bumps [actions/github-script](https://github.com/actions/github-script) from 7.0.1 to 8.0.0.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/60a0d83039c74a4aee543508d2ffcb1c3799cdea...ed597411d8f924073f98dfc5c65a23a2325f34cd)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-version: 8.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-08 09:32:06 +02:00
dependabot[bot] 074636bf86 Bump actions/checkout from 4.2.2 to 5.0.0 (#197) 2025-08-18 07:20:05 +02:00
Hayden d58896d6a1 Update default to v2.5.3 (#196) v3.9.2 2025-07-17 22:33:47 +02:00
Carlos Tadeu Panato Junior e40248c492 drop old unsupported versions <v2.0.0 (#192)
* drop old unsupported versions

Signed-off-by: Carlos Panato <ctadeu@gmail.com>

* drop any install below <v2.0.0

Signed-off-by: Carlos Panato <ctadeu@gmail.com>

---------

Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2025-07-03 17:46:50 +02:00
Carlos Tadeu Panato Junior d9374b96fe not fail fast and setup permissions (#195)
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2025-06-23 16:57:37 +02:00
Carlos Tadeu Panato Junior 398d4b0eee default cosign to v2.5.2 (#194)
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
v3.9.1 v3
2025-06-23 16:31:51 +02:00
Carlos Tadeu Panato Junior 84f54a2bcd default action install to use release v2.5.1 (#193)
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2025-06-18 19:02:51 +02:00
Carlos Tadeu Panato Junior fb28c2b633 bump cosign install to use release v2.5.0 as default (#191)
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
v3.9.0
2025-06-17 14:05:15 +02:00
dependabot[bot] e9a05e6d32 Bump actions/setup-go from 5.4.0 to 5.5.0 (#189)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.4.0 to 5.5.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/0aaccfd150d50ccaeb58ebd88d36e91967a5f35b...d35c59abb061a4a6fb18e82ac0862c26744d6ab5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: 5.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-12 11:35:19 +02:00
Ramon Petgrave 3454372f43 install cosign v2 from main (#186)
Makes the installer use cosign v2, when install from "main".

Signed-off-by: Ramon Petgrave <32398091+ramonpetgrave64@users.noreply.github.com>
v3.8.2
2025-04-15 09:39:58 +02:00
dependabot[bot] b6ee8f83b9 Bump actions/setup-go from 5.3.0 to 5.4.0 (#185)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.3.0 to 5.4.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/f111f3307d8850f501ac008e886eec1fd1932a34...0aaccfd150d50ccaeb58ebd88d36e91967a5f35b)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-07 18:06:29 +02:00
Carlos Tadeu Panato Junior d7d6bc7722 use cosign 2.4.3 and other updates (#182)
Signed-off-by: cpanato <ctadeu@gmail.com>
v3.8.1
2025-02-20 09:51:31 -05:00
dependabot[bot] c56c2d3e59 Bump actions/setup-go from 5.2.0 to 5.3.0 (#180)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/3041bf56c941b39c61721a86cd11f3bb1338122a...f111f3307d8850f501ac008e886eec1fd1932a34)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
v3.8.0
2025-02-04 16:29:28 -05:00
Bob Callaway 02e36b8dc8 bump for cosign v2.4.2 release (#181)
* bump for cosign v2.4.2 release

Signed-off-by: Bob Callaway <bcallaway@google.com>

* bump README too

Signed-off-by: Bob Callaway <bcallaway@google.com>

---------

Signed-off-by: Bob Callaway <bcallaway@google.com>
2025-02-04 16:29:05 -05:00
Bob Callaway 789d2886c0 test action against all non-rc releases, verify entry in rekor log (#179) 2025-01-11 16:02:58 +01:00
dependabot[bot] e11c089243 Bump actions/setup-go from 5.1.0 to 5.2.0 (#178) 2024-12-16 08:26:08 +01:00
dependabot[bot] 718228a5f8 Bump actions/setup-go from 5.0.2 to 5.1.0 (#176)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.0.2 to 5.1.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32...41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-28 09:42:38 +01:00
dependabot[bot] 325063e39f Bump actions/checkout from 4.2.1 to 4.2.2 (#177) 2024-10-28 08:13:42 +01:00
dependabot[bot] b929758a86 Bump actions/checkout from 4.2.0 to 4.2.1 (#175) 2024-10-14 07:35:39 +02:00
Bob Callaway dc72c7d5c4 bump for latest cosign v2.4.1 release (#173)
Signed-off-by: Bob Callaway <bcallaway@google.com>
v3.7.0
2024-10-03 14:19:35 -04:00