ci: add dnf cache
This commit is contained in:
@@ -49,6 +49,8 @@ jobs:
|
||||
tags: ${{ github.ref_name }}
|
||||
context: ./containers/fedora
|
||||
containerfiles: ./containers/fedora/Containerfile
|
||||
extra-args: |
|
||||
--mount=type=cache,id=dnf-cache,target=/var/cache/libdnf5
|
||||
- name: Push
|
||||
uses: redhat-actions/push-to-registry@v2
|
||||
with:
|
||||
@@ -96,6 +98,8 @@ jobs:
|
||||
context: ./containers/${{ matrix.container }}
|
||||
containerfiles: ./containers/${{ matrix.container }}/Containerfile
|
||||
build-args: TAG=${{ github.ref_name }}
|
||||
extra-args: |
|
||||
--mount=type=cache,id=dnf-cache,target=/var/cache/libdnf5
|
||||
- name: Push
|
||||
if: steps.check.outputs.run == 'true'
|
||||
uses: redhat-actions/push-to-registry@v2
|
||||
|
||||
Reference in New Issue
Block a user