-
Notifications
You must be signed in to change notification settings - Fork 13
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
Showing
1 changed file
with
3 additions
and
12 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 |
---|---|---|
|
@@ -30,25 +30,16 @@ jobs: | |
- name: Build docker-compose | ||
run: | | ||
docker buildx bake \ | ||
--file ./deploy/local/tests/docker-compose.yml \ | ||
--file ./deploy/local/tests/docker-compose-cache.json | ||
-f ./deploy/local/tests/docker-compose.yml \ | ||
--set *.cache-to="type=gha,mode=max" \ | ||
--set *.cache-from="type=gha" --load | ||
- name: Run Automated Tests | ||
run: make test | ||
|
||
- name: Test Build All Container Images | ||
run: make test-build-all | ||
|
||
# This ugly bit is necessary if you don't want your cache to grow forever | ||
# until it hits GitHub's limit of 5GB. | ||
# Temp fix | ||
# https://github.com/docker/build-push-action/issues/252 | ||
# https://github.com/moby/buildkit/issues/1896 | ||
- name: Move cache | ||
run: | | ||
rm -rf ./.output/tmp/.buildx-cache | ||
mv ./.output/tmp/.buildx-cache-new ./.output/tmp/.buildx-cache | ||
- name: Notify To Slack If Failed | ||
uses: lazy-actions/[email protected] | ||
if: failure() | ||
|