Skip to content

Commit

Permalink
tweak gha cache
Browse files Browse the repository at this point in the history
  • Loading branch information
hsheth2 committed Aug 27, 2024
1 parent 2b8cbd8 commit e7e9e43
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/actions/docker-custom-build-and-push/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ runs:
load: true
push: false
cache-from: |
type=gha
type=gha,scope=${{ inputs.file }}-${{ inputs.flavor }}
type=registry,ref=${{ steps.docker_meta.outputs.tags }}
cache-to: |
type=gha
type=gha,scope=${{ inputs.file }}-${{ inputs.flavor }}
type=inline
- name: Single Tag
if: ${{ inputs.publish != 'true' }}
Expand Down Expand Up @@ -123,10 +123,10 @@ runs:
target: ${{ inputs.target }}
push: true
cache-from: |
type=gha
type=gha,scope=${{ inputs.file }}-${{ inputs.flavor }}
type=registry,ref=${{ steps.docker_meta.outputs.tags }}
cache-to: |
type=gha
type=gha,scope=${{ inputs.file }}-${{ inputs.flavor }}
type=inline
# TODO add code for vuln scanning?

0 comments on commit e7e9e43

Please sign in to comment.