-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use cosign 2.4.3 and other updates (#182)
Signed-off-by: cpanato <[email protected]>
- Loading branch information
Showing
3 changed files
with
23 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected].0 | ||
uses: sigstore/[email protected].1 | ||
with: | ||
cosign-release: 'v2.4.2' # optional | ||
cosign-release: 'v2.4.3' # optional | ||
``` | ||
Example using a pinned version: | ||
|
@@ -30,9 +30,9 @@ jobs: | |
name: Install Cosign | ||
steps: | ||
- name: Install Cosign | ||
uses: sigstore/[email protected].0 | ||
uses: sigstore/[email protected].1 | ||
with: | ||
cosign-release: 'v2.4.2' | ||
cosign-release: 'v2.4.3' | ||
- name: Check install! | ||
run: cosign version | ||
``` | ||
|
@@ -49,7 +49,7 @@ jobs: | |
name: Install Cosign | ||
steps: | ||
- name: Install Cosign | ||
uses: sigstore/[email protected].0 | ||
uses: sigstore/[email protected].1 | ||
- name: Check install! | ||
run: cosign version | ||
``` | ||
|
@@ -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/[email protected].0 | ||
uses: sigstore/[email protected].1 | ||
with: | ||
cosign-release: main | ||
- name: Check install! | ||
|
@@ -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/[email protected].0 | ||
uses: sigstore/[email protected].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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters