2021-03-26 11:54:15 +07:00
|
|
|
# Starter Docker - GitHub Actions
|
2021-03-26 20:45:04 +07:00
|
|
|
- Run actions with docker (latest version)
|
2021-03-26 11:54:15 +07:00
|
|
|
- Quick and easy to use
|
2021-03-26 20:45:04 +07:00
|
|
|
- Support custom registry
|
|
|
|
- Support custom shell and commands
|
|
|
|
|
|
|
|
# Usage
|
2021-03-26 20:54:06 +07:00
|
|
|
```yaml
|
2021-03-26 20:45:04 +07:00
|
|
|
- name: Starter Docker
|
2021-03-26 20:54:06 +07:00
|
|
|
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
|
2021-03-26 20:45:04 +07:00
|
|
|
```
|
2021-03-26 11:54:15 +07:00
|
|
|
|
|
|
|
# Contributors
|
|
|
|
- Sambo Chea <sombochea@cubetiqs.com>
|