Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use cosign 2.4.3 and other updates #182

Merged
merged 1 commit into from
Feb 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,8 @@ jobs:
- ubuntu-latest
- windows-latest
go_version:
- '1.22'
- '1.23'
- '1.24'
name: Try to install cosign with go ${{ matrix.go_version }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ This action currently supports GitHub-provided Linux, macOS and Windows runners
Add the following entry to your Github workflow YAML file:

```yaml
uses: sigstore/cosign-installer@v3.8.0
uses: sigstore/cosign-installer@v3.8.1
with:
cosign-release: 'v2.4.2' # optional
cosign-release: 'v2.4.3' # optional
```

Example using a pinned version:
Expand All @@ -30,9 +30,9 @@ jobs:
name: Install Cosign
steps:
- name: Install Cosign
uses: sigstore/cosign-installer@v3.8.0
uses: sigstore/cosign-installer@v3.8.1
with:
cosign-release: 'v2.4.2'
cosign-release: 'v2.4.3'
- name: Check install!
run: cosign version
```
Expand All @@ -49,7 +49,7 @@ jobs:
name: Install Cosign
steps:
- name: Install Cosign
uses: sigstore/cosign-installer@v3.8.0
uses: sigstore/cosign-installer@v3.8.1
- name: Check install!
run: cosign version
```
Expand All @@ -68,12 +68,12 @@ jobs:
name: Install Cosign via go install
steps:
- name: Install go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: '1.23'
check-latest: true
- name: Install Cosign
uses: sigstore/cosign-installer@v3.8.0
uses: sigstore/cosign-installer@v3.8.1
with:
cosign-release: main
- name: Check install!
Expand All @@ -100,34 +100,34 @@ jobs:

name: build-image
steps:
- uses: actions/checkout@v3.5.2
- uses: actions/checkout@v4
with:
fetch-depth: 1

- name: Install Cosign
uses: sigstore/cosign-installer@v3.8.0
uses: sigstore/cosign-installer@v3.8.1

- name: Set up QEMU
uses: docker/setup-qemu-action@v2.1.0
uses: docker/setup-qemu-action@v3.4.0

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2.5.0
uses: docker/setup-buildx-action@v3.9.0

- name: Login to GitHub Container Registry
uses: docker/login-action@v2.1.0
uses: docker/login-action@v3.3.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- id: docker_meta
uses: docker/metadata-action@v4.4.0
uses: docker/metadata-action@v5.6.1
with:
images: ghcr.io/sigstore/sample-honk
tags: type=sha,format=long

- name: Build and Push container images
uses: docker/build-push-action@v4.0.0
uses: docker/build-push-action@v6.14.0
id: build-and-push
with:
platforms: linux/amd64,linux/arm/v7,linux/arm64
Expand Down
16 changes: 8 additions & 8 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ inputs:
cosign-release:
description: 'cosign release version to be installed'
required: false
default: 'v2.4.2'
default: 'v2.4.3'
install-dir:
description: 'Where to install the cosign binary'
required: false
Expand Down Expand Up @@ -65,13 +65,13 @@ runs:
esac
}

bootstrap_version='v2.4.2'
bootstrap_linux_amd64_sha='e7f5bd99a790703333e8f8e8e6c91d5e646f3d7041e4cf935b56587de20cec3f'
bootstrap_linux_arm_sha='c626df51f614085322ce66bc1c06f159d6b17669113013f0014bda8c34c741f5'
bootstrap_linux_arm64_sha='9ab2a932190161d67b9fcda81777e28086b2152c7d506a0e2f83dbb3fd7e2b1c'
bootstrap_darwin_amd64_sha='2697aba2d9ea5159b8f209025cfc392a8a25ce177c8d3b0e07afd4e1db3b163c'
bootstrap_darwin_arm64_sha='f9a574c1ab208918a0d96ffca7a105dfb32792f6c33e0da2dbefb76e25600ab8'
bootstrap_windows_amd64_sha='996e6b5e0ca712c3a2c0e182aee957b85df1eba69babaae8a6349c0bce0088db'
bootstrap_version='v2.4.3'
bootstrap_linux_amd64_sha='caaad125acef1cb81d58dcdc454a1e429d09a750d1e9e2b3ed1aed8964454708'
bootstrap_linux_arm_sha='729d18ef31679dd2d6be1aaffcb122f31edb4ed04dedceb409e8104adf49507a'
bootstrap_linux_arm64_sha='bd0f9763bca54de88699c3656ade2f39c9a1c7a2916ff35601caf23a79be0629'
bootstrap_darwin_amd64_sha='98a3bfd691f42c6a5b721880116f89210d8fdff61cc0224cd3ef2f8e55a466fb'
bootstrap_darwin_arm64_sha='edfc761b27ced77f0f9ca288ff4fac7caa898e1e9db38f4dfdf72160cdf8e638'
bootstrap_windows_amd64_sha='a2ac24e197111c9430cb2a98f10a641164381afb83df036504868e4ea5720800'
cosign_executable_name=cosign

trap "popd >/dev/null" EXIT
Expand Down
Loading