Skip to content

Commit 0eaf9e6

Browse files
committed
fix(ci): use docker driver on buildx
1 parent b687189 commit 0eaf9e6

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/publish_v2_layer.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,19 @@ jobs:
6363
with:
6464
platforms: arm64
6565
# NOTE: we need QEMU to build Layer against a different architecture (e.g., ARM)
66+
- name: Set up Docker Buildx
67+
id: builder
68+
uses: docker/setup-buildx-action@dc7b9719a96d48369863986a06765841d7ea23f6 # v2.0.0
69+
with:
70+
install: true
71+
driver: docker
72+
platforms: linux/amd64,linux/arm64
6673
- name: install cdk and deps
6774
run: |
6875
npm install -g [email protected]
6976
cdk --version
7077
- name: CDK build
71-
run: cdk synth --context version="${{ inputs.latest_published_version }}" -o cdk.out
78+
run: cdk synth --verbose --context version="${{ inputs.latest_published_version }}" -o cdk.out
7279
- name: zip output
7380
run: zip -r cdk.out.zip cdk.out
7481
- name: Archive CDK artifacts

0 commit comments

Comments
 (0)