Skip to content

Commit 3c286e1

Browse files
committed
Restore original build step
1 parent 427940a commit 3c286e1

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

.github/workflows/integration-tests.yml

+5-12
Original file line numberDiff line numberDiff line change
@@ -48,29 +48,22 @@ jobs:
4848
uses: docker/metadata-action@v3
4949
with:
5050
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-sommelier
51-
- name: build-and-push-linux-amd64
52-
uses: docker/build-push-action@v2
53-
with:
54-
context: .
55-
file: Dockerfile
56-
push: true
57-
platforms: linux/amd64
58-
tags: ${{ steps.meta.outputs.tags }}
59-
labels: ${{ steps.meta.outputs.labels }}
60-
builder: ${{ steps.buildx.outputs.name }}
61-
- name: build-and-push-linux-arm64
51+
- name: build-and-push
6252
uses: docker/build-push-action@v2
6353
with:
6454
context: .
6555
file: Dockerfile
6656
push: true
67-
platforms: linux/arm64/v8
57+
platforms: linux/amd64, linux/arm64/v8
6858
tags: ${{ steps.meta.outputs.tags }}
6959
labels: ${{ steps.meta.outputs.labels }}
7060
builder: ${{ steps.buildx.outputs.name }}
61+
cache-from: type=local,src=/tmp/.buildx-cache
62+
cache-to: type=local,mode=max,dest=/tmp/.buildx-cache-new
7163
- name: Move Docker cache
7264
run: |
7365
rm -rf /tmp/.buildx-cache
66+
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
7467
7568
hardhat-build:
7669
permissions:

0 commit comments

Comments
 (0)