Skip to content

Commit

Permalink
Revert "Enable the use of the docker cache"
Browse files Browse the repository at this point in the history
This reverts commit 22f535f.
  • Loading branch information
elenamsd committed May 24, 2024
1 parent 22f535f commit a94ef2c
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/generate-and-submit-documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,6 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Cache Docker layers
uses: actions/cache@v3
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Build Docker image
uses: docker/build-push-action@v5
id: built-image
Expand All @@ -35,13 +27,6 @@ jobs:
push: false
load: true
target: claasp-base
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max

- name: Move cache
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache

- name: Generate documentation
run: docker run --rm -v $PWD:/home/sage/tii-claasp claasp-base make doc
Expand Down

0 comments on commit a94ef2c

Please sign in to comment.