ci: don't cache certs stage (#2296)
This commit is contained in:
parent
403e627321
commit
ce00d2cd63
|
|
@ -77,7 +77,7 @@ jobs:
|
|||
with:
|
||||
platforms: ${{ matrix.platforms }}
|
||||
- uses: docker/setup-buildx-action@dc7b9719a96d48369863986a06765841d7ea23f6 # v1
|
||||
- uses: docker/build-push-action@7f9d37fa544684fb73bfe4835ed7214c255ce02b # v2
|
||||
- uses: docker/build-push-action@c56af957549030174b10d6867f20e78cfd7debc5 # v3
|
||||
id: build-and-push
|
||||
with:
|
||||
context: .
|
||||
|
|
@ -85,6 +85,7 @@ jobs:
|
|||
platforms: ${{ matrix.platforms }}
|
||||
push: ${{ github.event_name != 'pull_request' }} # Only push if not a PR.
|
||||
tags: ${{ matrix.image-name }}:${{ matrix.tag }}
|
||||
no-cache-filters: certs
|
||||
# https://github.com/docker/build-push-action/blob/master/docs/advanced/cache.md#github-cache
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
|
|
|||
Loading…
Reference in New Issue