Skip to content

Commit

Permalink
fix: Use "latest" for Go module and docker versions
Browse files Browse the repository at this point in the history
Signed-off-by: John McBride <[email protected]>
  • Loading branch information
jpmcb committed Aug 27, 2024
1 parent fbfc614 commit 8f48508
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,22 @@ npm i -g pizza
### Docker

```sh
$ docker run ghcr.io/open-sauced/pizza-cli:v1.1.0
$ docker run ghcr.io/open-sauced/pizza-cli:latest
```

For commands that require access to your file system (like `generate codeowners`), ensure
you pass a volume to the docker container:

```sh
$ docker run -v /local/path:/container/path ghcr.io/open-sauced/pizza-cli:v1.1.0 \
$ docker run -v /local/path:/container/path ghcr.io/open-sauced/pizza-cli:latest \
generate codeowners /container/path
```

For example, to mount your entire home directory (which may include a `.sauced.yaml` file
alongside the project you want to generate a `CODEOWNERS` file for):

```sh
$ docker run -v ~/:/app ghcr.io/open-sauced/pizza-cli:v1.1.0 \
$ docker run -v ~/:/app ghcr.io/open-sauced/pizza-cli:latest \
codeowners /app/workspace/gopherlogs -c /app/.sauced.yaml
```

Expand All @@ -48,7 +48,7 @@ $ docker run -v ~/:/app ghcr.io/open-sauced/pizza-cli:v1.1.0 \
Using the Go tool-chain, you can install the binary directly:

```sh
$ go install github.com/open-sauced/pizza-cli
$ go install github.com/open-sauced/pizza-cli@latest
```

Warning! You should have the `GOBIN` env var setup to point to a persistent
Expand Down

0 comments on commit 8f48508

Please sign in to comment.