Skip to content

Commit

Permalink
Merge pull request #764 from dxw/chore/remove-docker-caching
Browse files Browse the repository at this point in the history
Remove docker caching
  • Loading branch information
jdudley1123 authored Sep 25, 2024
2 parents f537468 + 1f78864 commit 240ea9c
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,8 @@ jobs:
- name: Check out code
uses: actions/checkout@v4

- id: cache-docker
uses: actions/cache@v3
with:
path: /tmp/docker-save
key:
docker-save-${{ hashFiles('Dockerfile', 'Gemfile.lock',
'package-lock.json') }}

- if: steps.cache-docker.outputs.cache-hit == 'true'
name: Load cached Docker image
run: docker load -i /tmp/docker-save/snapshot.tar || true

- name: Build
run: script/ci/cibuild

- name: Test
run: script/ci/test

- if: always() && steps.cache-docker.outputs.cache-hit != 'true'
name: Prepare Docker cache
run:
mkdir -p /tmp/docker-save && docker save app_test:latest -o
/tmp/docker-save/snapshot.tar && ls -lh /tmp/docker-save

0 comments on commit 240ea9c

Please sign in to comment.