File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 }}
Original file line number Diff line number Diff 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
1618Original | 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
You can’t perform that action at this time.
0 commit comments