Skip to content

Commit

Permalink
fix(workflow): hash file
Browse files Browse the repository at this point in the history
  • Loading branch information
njfamirm committed Nov 7, 2023
1 parent dbf5eff commit dcc10f6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,11 @@ jobs:
- name: 🏗 Cache Docker Layers
uses: actions/cache@v3
with:
path: /tmp/.buildx-cache
path: /tmp/.buildx-cache
key: image-${{ matrix.name }}-version-${{ matrix.version.full }}-buildx-${{ hashFiles(format('{0}/Container_folder', matrix.name)) }}
restore-keys: |
image-${{ matrix.name }}-version-${{ matrix.version.full }}-buildx-
- name: 🏗 Log into registry ${{env.REGISTRY}}
if: ${{ github.event_name != 'pull_request' && steps.file_change.outputs.container_folder == 'true' }}
uses: docker/[email protected]
Expand Down

0 comments on commit dcc10f6

Please sign in to comment.