Skip to content

Commit

Permalink
chore: try another method;
Browse files Browse the repository at this point in the history
  • Loading branch information
riandyrn committed Jul 19, 2023
1 parent 11c08fd commit 5b1b1e3
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 5b1b1e3

Please sign in to comment.