Skip to content
This repository was archived by the owner on Dec 6, 2023. It is now read-only.

Commit 93216d3

Browse files
committed
DOC: Add example of using action via Docker container image on Docker Hub
1 parent c3d7455 commit 93216d3

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,22 @@ This repository contains Github Actions used in CI/CD workflows of [HAProxy Tech
77

88
## Usage
99

10+
- Using action via Docker container image on Docker Hub:
11+
12+
```yaml
13+
steps:
14+
- name: Check out code
15+
uses: actions/checkout@v1
16+
- name: action-name
17+
uses: docker://haproxytech/action-name:TAG
18+
```
19+
20+
- Using action via HAProxyTech repository:
21+
1022
```yaml
1123
steps:
1224
- name: Check out code
1325
uses: actions/checkout@v1
1426
- name: action-name
15-
uses: haproxytech/github-actions/action-name@master
27+
uses: haproxytech/github-actions/action-name@TAG
1628
```

check-commit/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ steps:
4646
- name: Check out code
4747
uses: actions/checkout@v1
4848
- name: check-commit
49-
uses: haproxytech/github-actions/check-commit@master
49+
uses: docker://haproxytech/check-commit:TAG
5050
```

0 commit comments

Comments
 (0)