Skip to content

Commit 010faec

Browse files
authored
fix: update docs and release workflow (#2)
* fix: release workflow warnings * fix: update docs and pin docker action to sha
1 parent 31ae8e7 commit 010faec

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
id: version
2222

2323
- name: Log in to the container registry
24-
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
24+
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0
2525
with:
2626
registry: ghcr.io
2727
username: ${{ github.actor }}

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@ Visit https://github.com/google/guetzli for Guetzli's full documentation
55

66
## Usage
77
```sh
8-
docker run --rm -v $(PWD):/tmp jveldboom/google-guetzli input.jpg output.jpg
8+
docker --rm -v $(PWD):/tmp ghcr.io/jveldboom/docker-google-guetzli:latest \
9+
input.jpg output.jpg
910
```
1011

1112
## Run Examples
1213
```sh
13-
docker run --rm -v $(PWD):/tmp jveldboom/google-guetzli --quality 85 ./samples/bees.png ./samples/bees-out.png
14+
docker run --rm -v $(PWD):/tmp ghcr.io/jveldboom/docker-google-guetzli:latest \
15+
--quality 85 ./samples/bees.png ./samples/bees-out.png
1416
```
1517

1618
Original | Processed with 85%
@@ -20,7 +22,7 @@ Original | Processed with 85%
2022

2123
## TODO
2224
- [ ] create pull request workflow
23-
- [ ] include dockerignore to reduce image size
25+
- [ ] include .dockerignore to reduce image size
2426
- [ ] see if we can reduce overall container size
2527

2628
```sh

0 commit comments

Comments
 (0)