Skip to content

Commit 53351d3

Browse files
CI: Adjust rake tasks regarding host architecture
Co-authored-by: Mike Dalessio <[email protected]>
1 parent 3d0ef4a commit 53351d3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
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

Lines changed: 2 additions & 2 deletions
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

.github/workflows/release-images.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ jobs:
6464
' | tee -a $GITHUB_OUTPUT
6565
- name: Build docker image
6666
env:
67-
RCD_DOCKER_BUILD: docker buildx build --cache-from=type=local,src=tmp/build-cache --cache-to=type=local,dest=tmp/build-cache-new --load
67+
RCD_DOCKER_BUILD: docker buildx build --cache-from=type=local,src=tmp/build-cache --cache-to=type=local,dest=tmp/build-cache-new
6868
run: |
6969
docker buildx create --driver docker-container --use
70-
bundle exec rake build:${{matrix.platform}}
70+
bundle exec rake build:x86:${{matrix.platform}}
7171
# move build cache and remove outdated layers
7272
rm -rf tmp/build-cache
7373
mv tmp/build-cache-new tmp/build-cache

0 commit comments

Comments
 (0)