diff --git a/.github/workflows/test_readme.yml b/.github/workflows/test_readme.yml new file mode 100644 index 00000000..3dea8693 --- /dev/null +++ b/.github/workflows/test_readme.yml @@ -0,0 +1,16 @@ +name: CI + +on: push + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: satackey/action-docker-layer-caching@v0.0 + with: + repotag: amazon/aws-cli + key: aws-cli-docker-image + + - run: docker pull amazon/aws-cli + - run: docker run --rm -it amazon/aws-cli --version diff --git a/README.md b/README.md new file mode 100644 index 00000000..116f1e1c --- /dev/null +++ b/README.md @@ -0,0 +1,20 @@ +# action-docker-layer-caching + +```yaml +name: CI + +on: push + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: satackey/action-docker-layer-caching@v0.0 + with: + repotag: amazon/aws-cli + key: aws-cli-docker-image + + - run: docker pull amazon/aws-cli + - run: docker run --rm -it amazon/aws-cli --version +```