Skip to content

Commit

Permalink
fix: update docs and release workflow (#2)
Browse files Browse the repository at this point in the history
* fix: release workflow warnings

* fix: update docs and pin docker action to sha
  • Loading branch information
jveldboom authored Mar 15, 2023
1 parent 31ae8e7 commit 010faec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
id: version

- name: Log in to the container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ Visit https://github.com/google/guetzli for Guetzli's full documentation

## Usage
```sh
docker run --rm -v $(PWD):/tmp jveldboom/google-guetzli input.jpg output.jpg
docker --rm -v $(PWD):/tmp ghcr.io/jveldboom/docker-google-guetzli:latest \
input.jpg output.jpg
```

## Run Examples
```sh
docker run --rm -v $(PWD):/tmp jveldboom/google-guetzli --quality 85 ./samples/bees.png ./samples/bees-out.png
docker run --rm -v $(PWD):/tmp ghcr.io/jveldboom/docker-google-guetzli:latest \
--quality 85 ./samples/bees.png ./samples/bees-out.png
```

Original | Processed with 85%
Expand All @@ -20,7 +22,7 @@ Original | Processed with 85%

## TODO
- [ ] create pull request workflow
- [ ] include dockerignore to reduce image size
- [ ] include .dockerignore to reduce image size
- [ ] see if we can reduce overall container size

```sh
Expand Down

0 comments on commit 010faec

Please sign in to comment.