Skip to content

ci-cd: cache Docker images to speed up CI #226

@cusma

Description

@cusma

We can consider caching the Docker images and invalidating if any changes to Dockerfile or docker-compose.yaml happens in the PR, for example:

      - name: Cache Docker Layers
        uses: satackey/[email protected]
        continue-on-error: true
        with:
          key: docker-cache-${{ runner.os }}-${{ hashFiles('**/Dockerfile', '**/docker-compose.yaml') }}
          restore-keys: docker-cache-${{ runner.os }}-

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions