From ae83b97fa5b1f588d8d87a1dc6a87b18f40704b2 Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Fri, 26 Mar 2021 20:54:06 +0700 Subject: [PATCH] Add and fixed the docker run in action --- README.md | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ab29157..24213c3 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,30 @@ - Support custom shell and commands # Usage -```yml +```yaml - 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