Skip to content

Commit 6bbb52c

Browse files
committed
CI: Adjust rake tasks regarding host architecture
1 parent 6998c5e commit 6bbb52c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
- name: Build docker image
8383
run: |
8484
docker buildx create --driver docker-container --use
85-
bundle exec rake build:${{ matrix.platform }} RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,src=tmp/build-cache --cache-to=type=local,dest=tmp/build-cache-new --load"
85+
bundle exec rake build:x86:${{ matrix.platform }} RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,src=tmp/build-cache --cache-to=type=local,dest=tmp/build-cache-new"
8686
docker images
8787
- name: Update and prune docker buildx layer cache
8888
run: |

.github/workflows/publish-images.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ jobs:
5757
' | tee -a $GITHUB_OUTPUT
5858
- name: Build docker image
5959
env:
60-
RCD_DOCKER_BUILD: docker buildx build --cache-from=type=local,src=tmp/build-cache --cache-to=type=local,dest=tmp/build-cache-new --load
60+
RCD_DOCKER_BUILD: docker buildx build --cache-from=type=local,src=tmp/build-cache --cache-to=type=local,dest=tmp/build-cache-new
6161
run: |
6262
docker buildx create --driver docker-container --use
63-
bundle exec rake build:${{matrix.platform}}
63+
bundle exec rake build:x86:${{matrix.platform}}
6464
# move build cache and remove outdated layers
6565
rm -rf tmp/build-cache
6666
mv tmp/build-cache-new tmp/build-cache

0 commit comments

Comments
 (0)