Fix CICD caches
This commit is contained in:
@@ -19,7 +19,7 @@ jobs:
|
|||||||
path: ~/.composer/cache
|
path: ~/.composer/cache
|
||||||
key: composer-${{ hashFiles('**/composer.lock') }}
|
key: composer-${{ hashFiles('**/composer.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
composer-${{ hashFiles('**/composer.lock') }}
|
composer-
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: composer install --prefer-dist --no-progress --no-suggest --no-interaction
|
run: composer install --prefer-dist --no-progress --no-suggest --no-interaction
|
||||||
- name: Run PHPUnit tests
|
- name: Run PHPUnit tests
|
||||||
@@ -42,7 +42,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: /tmp/.buildx-cache
|
path: /tmp/.buildx-cache
|
||||||
key: buildx-cache-${{ github.sha }}
|
key: buildx-cache-${{ github.sha }}
|
||||||
restore-keys: buildx-cache-${{ github.sha }}
|
restore-keys: |
|
||||||
|
buildx-cache-
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
run: |
|
run: |
|
||||||
docker build -t git.matthiasg.dev/ninluc/datbrowser:latest .
|
docker build -t git.matthiasg.dev/ninluc/datbrowser:latest .
|
||||||
|
|||||||
Reference in New Issue
Block a user