Skip to content

Commit

Permalink
Disable second cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav-Povolotsky committed Nov 15, 2024
1 parent cb64e15 commit 0e55ada
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,12 +164,12 @@ jobs:
echo "CONTINUE_BUILD=false" >> $GITHUB_ENV
fi
- name: "Cache download (full)"
if: env.CONTINUE_BUILD != 'false'
uses: actions/cache@v3
with:
path: ${{ env.BUILD_CACHE_FOLDER_FULL }}
key: ${{ env.CACHE_ID_FULL }}
#- name: "Cache download (full)"
# if: env.CONTINUE_BUILD != 'false'
# uses: actions/cache@v3
# with:
# path: ${{ env.BUILD_CACHE_FOLDER_FULL }}
# key: ${{ env.CACHE_ID_FULL }}

# Build and push the Docker image for both amd64 and arm64 platforms
- name: Build and Push Docker image
Expand All @@ -179,8 +179,9 @@ jobs:
context: .
push: true
platforms: linux/amd64,linux/arm64
cache-from: type=local,src=${{ env.BUILD_CACHE_FOLDER_FULL }}/.buildx-cache
cache-to: type=local,dest=${{ env.BUILD_CACHE_FOLDER_FULL }}/.buildx-cache,mode=max
cache-from: type=local,src=${{ env.BUILD_CACHE_FOLDER_VERSIONS }}/.buildx-cache
#cache-from: type=local,src=${{ env.BUILD_CACHE_FOLDER_FULL }}/.buildx-cache
#cache-to: type=local,dest=${{ env.BUILD_CACHE_FOLDER_FULL }}/.buildx-cache,mode=max
build-args: |
DOCKER_IMAGE_BUILD_VERSION=${{ env.NEW_VERSION }}
tags: ${{ vars.DOCKER_IMAGE }}:${{ env.NEW_VERSION }}-temp
Expand Down

0 comments on commit 0e55ada

Please sign in to comment.