Skip to content

Commit

Permalink
clarify crane download readme (#1533)
Browse files Browse the repository at this point in the history
* clarify crane download readme

* Update cmd/crane/README.md

Co-authored-by: Jason Hall <jason@chainguard.dev>
  • Loading branch information
dtanner and imjasonh committed Jan 20, 2023
1 parent 8e08d51 commit 1e09daa
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions cmd/crane/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,18 @@ A collection of useful things you can do with `crane` is [here](recipes.md).

### Install from Releases
Download [latest release](https://github.com/google/go-containerregistry/releases/latest):
```
$ OS=Linux # or Darwin, Windows
$ ARCH=x86_64 # or arm64, x86_64, armv6, i386, s390x
$ curl -sL "https://github.com/google/go-containerregistry/releases/latest/download/go-containerregistry_${OS}_${ARCH}.tar.gz" > go-containerregistry.tar.gz
```

Download a specific version:
```
$ VERSION=TODO # Latest, or other
$ VERSION=TODO # Version number without leading v
$ OS=Linux # or Darwin, Windows
$ ARCH=x86_64 # or arm64, x86_64, armv6, i386, s390x
$ curl -sL "https://github.com/google/go-containerregistry/releases/download/v${VERSION}/go-containerregistry_${VERSION}_${OS}_${ARCH}.tar.gz" > go-containerregistry.tar.gz
$ curl -sL "https://github.com/google/go-containerregistry/releases/download/v${VERSION}/go-containerregistry_${OS}_${ARCH}.tar.gz" > go-containerregistry.tar.gz
```

We generate [SLSA 3 provenance](https://slsa.dev) using the OpenSSF's [slsa-framework/slsa-github-generator](https://github.com/slsa-framework/slsa-github-generator). To verify our release, install the verification tool from [slsa-framework/slsa-verifier#installation](https://github.com/slsa-framework/slsa-verifier#installation) and verify as follows:
Expand Down

0 comments on commit 1e09daa

Please sign in to comment.