Skip to content

Commit

Permalink
Use different docker caching
Browse files Browse the repository at this point in the history
  • Loading branch information
heiglandreas committed Aug 14, 2024
1 parent 0f0d7dd commit d60cc40
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/behat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,14 @@ jobs:
- uses: actions/checkout@v1
- name: Docker Compose Pull
run: docker compose pull
- uses: jpribyl/[email protected]
continue-on-error: true
- name: Cache Docker images
id: docker-cache
uses: ScribeMD/[email protected]
with:
key:
docker-${{ runner.os }}-${{ matrix.php-version }}-${{ matrix.wordpress-version }}-${{ hashFiles(paths) }}
- name: Build the docker-compose stack
if: steps.docker-cache.outputs.cache-hit != 'true'
run: docker compose build --build-arg PHP_VERSION=${{ matrix.php-version }} --build-arg WORDPRESS_VERSION=${{ matrix.wordpress-version }} wp
- name: run the stack
run: docker compose -f docker-compose.yml up -d
Expand Down

0 comments on commit d60cc40

Please sign in to comment.