Skip to content

Commit

Permalink
change caching to old version
Browse files Browse the repository at this point in the history
  • Loading branch information
Taepper committed Jan 6, 2025
1 parent 4ed5283 commit 6ff95a2
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,8 @@ jobs:

- name: Check if image exists
run: |
if [[ $(docker manifest inspect ${{ env.DOCKER_DEPENDENCY_IMAGE_NAME }}:filehash-${{ env.DIR_HASH }} > /dev/null 2>&1) ]]; then
echo "Cache hit, do not require rebuild of this docker image. Retagging old image instead."
echo "CACHE_HIT=true" >> $GITHUB_ENV
else
echo "CACHE_HIT=false" >> $GITHUB_ENV
fi
EXISTS=$(docker manifest inspect ${{ env.DOCKER_DEPENDENCY_IMAGE_NAME }}:${{ env.DIR_HASH }} > /dev/null 2>&1 && echo "true" || echo "false")
echo "CACHE_HIT=$EXISTS" >> $GITHUB_ENV
- name: Determine platform build necessity
id: platform-check
Expand Down

0 comments on commit 6ff95a2

Please sign in to comment.