first of all github actions are really really great!
We us docker-compose to create a complete development stack for every developer. When we use github action every docker-compose up -d will take up to 10 Minutes because the images have to be downloaded every time.
I saw the new actions/cache repository but there is no working example on how to cache docker-compose.
Anybody of you have a working example?
name: Main on: [push, pull_request] jobs: build: runs-on: ubuntu-latest steps: - name: "Checkout Project" uses: actions/checkout@v1 with: fetch-depth: 1 - name: "Docker Build" run: docker-compose --log-level INFO up -d --build - name: "Docker Logs" run: docker-compose logs