Skip to content

Commit 3f0a7a4

Browse files
Merge pull request #11621 from rabbitmq/mergify/bp/v3.13.x/pr-11620
Use GHA cache for OCI; reenable ARM (backport #11620)
2 parents c8cc7c4 + a1c3898 commit 3f0a7a4

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/oci-make.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,7 @@ jobs:
5555
matrix:
5656
platform:
5757
- linux/amd64
58-
# These are built on x86 runners in CPU emulation mode, which is very slow
59-
# (over an hour to build the image, instead of minutes). It'd be nice to have
60-
# these back at some point but for now - they are blocking the publication of
61-
# amd64 images
62-
# - linux/arm64
58+
- linux/arm64
6359
steps:
6460
- name: Prepare
6561
run: |
@@ -108,8 +104,8 @@ jobs:
108104
context: packaging/docker-image
109105
platforms: ${{ matrix.platform }}
110106
labels: ${{ steps.meta.outputs.labels }}
111-
cache-to: type=registry,ref=ghcr.io/rabbitmq/rabbitmq:buildcache-${{ env.PLATFORM_PAIR }},mode=max
112-
cache-from: type=registry,ref=ghcr.io/rabbitmq/rabbitmq:buildcache-${{ env.PLATFORM_PAIR }}
107+
cache-to: type=gha
108+
cache-from: type=gha
113109
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true
114110
- name: Export digest
115111
run: |

0 commit comments

Comments
 (0)