2021-03-26 11:54:15 +07:00
|
|
|
# Starter Docker - GitHub Actions
|
2021-03-26 20:58:05 +07:00
|
|
|
|
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:58:05 +07:00
|
|
|
|
2021-03-26 20:54:06 +07:00
|
|
|
```yaml
|
2021-03-26 20:45:04 +07:00
|
|
|
- name: Starter Docker
|
2021-03-26 21:00:19 +07:00
|
|
|
uses: CUBETIQ/starter-docker-actions@v0.3
|
2021-03-26 20:54:06 +07:00
|
|
|
```
|
|
|
|
|
|
|
|
# Example Action
|
2021-03-26 20:58:05 +07:00
|
|
|
|
2021-03-26 20:54:06 +07:00
|
|
|
```yaml
|
|
|
|
name: CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2021-03-26 20:58:05 +07:00
|
|
|
branches: [master]
|
2021-03-26 20:54:06 +07:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2021-03-26 21:00:19 +07:00
|
|
|
- uses: cubetiq/starter-docker-actions@v0.3
|
2021-03-26 20:54:06 +07:00
|
|
|
- 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
|
2021-03-26 20:58:05 +07:00
|
|
|
|
|
|
|
- Sambo Chea <sombochea@cubetiqs.com>
|