Skip to content

Commit

Permalink
Amélioration de la clé de cache Docker (#1637)
Browse files Browse the repository at this point in the history
On prend en compte les différents Dockerfiles dans la clé.
  • Loading branch information
Mopolo authored Feb 18, 2025
1 parent a636d29 commit 737d741
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,13 @@ jobs:
- name: Cache Docker images.
uses: ScribeMD/[email protected]
with:
key: docker-${{ runner.os }}-${{ hashFiles('compose.yml') }}
key: |
docker-${{ runner.os }}-${{ hashFiles(
'compose.yml',
'docker/dockerfiles/apachephp/Dockerfile',
'docker/dockerfiles/mysql/Dockerfile',
'docker/dockerfiles/mysqltest/Dockerfile'
) }}
- name: Delete symfony cache
run: rm -rf var/cache/test
Expand Down

0 comments on commit 737d741

Please sign in to comment.