Skip to content

Commit

Permalink
Merge pull request #1811 from rabbitmq/test-ci/docker-cache
Browse files Browse the repository at this point in the history
Update docker cache in CI

[skip ci]
  • Loading branch information
Zerpet authored Jan 17, 2025
2 parents c096404 + f62476c commit 6397d8f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Build to TAR
id: build_tar
Expand All @@ -187,6 +189,9 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
outputs: |
type=docker,dest=./operator.tar
# Workaround to "disable" cache from registry
cache-from: type=local,src=${{ runner.temp }}/.buildx-cache
cache-to: type=local,dest=${{ runner.temp }}/.buildx-cache-new,mode=min

- name: Upload Operator artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 6397d8f

Please sign in to comment.