Skip to content

Commit 7d31bc1

Browse files
committed
Adding emulation and build platform
1 parent 55764c1 commit 7d31bc1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ jobs:
3030
role-session-name: deployrolesession
3131
aws-region: ${{ env.AWS_REGION }}
3232

33+
- name: Set up QEMU
34+
uses: docker/setup-qemu-action@v3
35+
3336
- name: Set up Docker Buildx
3437
uses: docker/setup-buildx-action@v2
3538
with:
@@ -55,6 +58,7 @@ jobs:
5558
${{ secrets.DOCKERHUB_USERNAME }}/lambda-playwright-python:latest
5659
${{ secrets.DOCKERHUB_USERNAME }}/lambda-playwright-python:${{ github.sha }}
5760
${{ secrets.DOCKERHUB_USERNAME }}/lambda-playwright-python:v${{ env.IMAGE_TAG }}
61+
platforms: linux/arm64
5862

5963
- name: Build and push to Amazon ECR Public
6064
uses: docker/build-push-action@v4
@@ -64,6 +68,7 @@ jobs:
6468
tags: |
6569
public.ecr.aws/${{ env.ECR_REPOSITORY }}:latest
6670
public.ecr.aws/${{ env.ECR_REPOSITORY }}:${{ github.sha }}
71+
public.ecr.aws/${{ env.ECR_REPOSITORY }}:v${{ env.IMAGE_TAG }}
6772
platforms: linux/arm64
6873

6974
- name: Create Release

0 commit comments

Comments
 (0)