-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0f0d7dd
commit d60cc40
Showing
1 changed file
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|