Add and fixed the docker run in action
This commit is contained in:
parent
21c3ada301
commit
ae83b97fa5
25
README.md
25
README.md
@ -5,9 +5,30 @@
|
|||||||
- Support custom shell and commands
|
- Support custom shell and commands
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
```yml
|
```yaml
|
||||||
- name: Starter Docker
|
- name: Starter Docker
|
||||||
uses: CUBETIQ/starter-docker-actions@v0.1
|
uses: CUBETIQ/starter-docker-actions@1
|
||||||
|
```
|
||||||
|
|
||||||
|
# Example Action
|
||||||
|
```yaml
|
||||||
|
name: CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: cubetiq/starter-docker-actions@v0.1
|
||||||
|
- name: Starter Docker Test
|
||||||
|
run: |
|
||||||
|
docker images
|
||||||
|
docker ps
|
||||||
|
docker --version
|
||||||
```
|
```
|
||||||
|
|
||||||
# Contributors
|
# Contributors
|
||||||
|
Loading…
Reference in New Issue
Block a user