Skip to content

Commit 799223c

Browse files
author
Ira W. Snyder
committed
Update README with improved usage examples
1 parent 6d7b831 commit 799223c

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

README.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
puppet-parser-validate:
1919

2020
runs-on: ubuntu-latest
21-
21+
2222
steps:
2323
- name: Checkout
2424
uses: actions/checkout@v2
@@ -29,6 +29,31 @@ jobs:
2929
args: ./
3030
```
3131
32+
If you wish to use a specific version, without needing to rebuild the container
33+
each time, you can use the version hosted on the [Docker Hub](https://hub.docker.com/r/irasnyd/puppet-parser-validate-action).
34+
35+
For example:
36+
37+
```yaml
38+
name: Puppet Parser Validate
39+
40+
on: [push]
41+
42+
jobs:
43+
puppet-parser-validate:
44+
45+
runs-on: ubuntu-latest
46+
47+
steps:
48+
- name: Checkout
49+
uses: actions/checkout@v2
50+
51+
- name: puppet-parser-validate
52+
uses: docker://irasnyd/puppet-parser-validate-action:5.5.19
53+
with:
54+
args: ./
55+
```
56+
3257
## License
3358
3459
The [Dockerfile](Dockerfile) and associated scripts and documentation in this

0 commit comments

Comments
 (0)