Skip to content

Commit

Permalink
Try splitting the build to fix resource constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrit committed Jan 28, 2025
1 parent bc4a74d commit 427940a
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,22 +48,29 @@ jobs:
uses: docker/metadata-action@v3
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-sommelier
- name: build-and-push
- name: build-and-push-linux-amd64
uses: docker/build-push-action@v2
with:
context: .
file: Dockerfile
push: true
platforms: linux/amd64, linux/arm64/v8
platforms: linux/amd64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
builder: ${{ steps.buildx.outputs.name }}
- name: build-and-push-linux-arm64
uses: docker/build-push-action@v2
with:
context: .
file: Dockerfile
push: true
platforms: linux/arm64/v8
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
builder: ${{ steps.buildx.outputs.name }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,mode=max,dest=/tmp/.buildx-cache-new
- name: Move Docker cache
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
hardhat-build:
permissions:
Expand Down

0 comments on commit 427940a

Please sign in to comment.