File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 3838 - name : Set up Docker Buildx
3939 uses : docker/setup-buildx-action@v2
4040 with :
41- driver : docker
41+ driver : docker-container
4242 platforms : linux/arm64
4343
4444 - name : Login to DockerHub
5050 - name : Login to Amazon ECR Public
5151 id : login-ecr
5252 uses : aws-actions/amazon-ecr-login@v1
53+ with :
54+ public : true
5355
5456 - name : Build and push to DockerHub
5557 uses : docker/build-push-action@v4
6062 ${{ secrets.DOCKERHUB_USERNAME }}/lambda-playwright-python:latest
6163 ${{ secrets.DOCKERHUB_USERNAME }}/lambda-playwright-python:${{ github.sha }}
6264 ${{ secrets.DOCKERHUB_USERNAME }}/lambda-playwright-python:v${{ env.IMAGE_TAG }}
63- platforms : linux/arm64
65+ cache-from : type=gha
66+ cache-to : type=gha,mode=max
6467
6568 - name : Build and push to Amazon ECR Public
6669 uses : docker/build-push-action@v4
7275 public.ecr.aws/${{ env.ECR_REPOSITORY }}:${{ github.sha }}
7376 public.ecr.aws/${{ env.ECR_REPOSITORY }}:v${{ env.IMAGE_TAG }}
7477 platforms : linux/arm64
78+ cache-from : type=gha
79+ cache-to : type=gha,mode=max
7580
7681 - name : Create Release
7782 uses : ncipollo/release-action@v1
You can’t perform that action at this time.
0 commit comments