@@ -360,49 +360,6 @@ jobs:
360360 scrolltech/${{ env.REPOSITORY }}:${{ env.IMAGE_TAG }}
361361 ${{ env.ECR_REGISTRY }}/${{ env.REPOSITORY }}:${{ env.IMAGE_TAG }}
362362
363- coordinator-proxy :
364- runs-on :
365- group : scroll-reth-runner-group
366- steps :
367- - name : Checkout code
368- uses : actions/checkout@v4
369- - name : Set up QEMU
370- uses : docker/setup-qemu-action@v2
371- - name : Set up Docker Buildx
372- uses : docker/setup-buildx-action@v2
373- - name : Login to Docker Hub
374- uses : docker/login-action@v2
375- with :
376- username : ${{ secrets.DOCKERHUB_USERNAME }}
377- password : ${{ secrets.DOCKERHUB_TOKEN }}
378- - name : Configure AWS credentials
379- uses : aws-actions/configure-aws-credentials@v4
380- with :
381- aws-access-key-id : ${{ secrets.AWS_ACCESS_KEY_ID }}
382- aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
383- aws-region : ${{ env.AWS_REGION }}
384- - name : Login to Amazon ECR
385- id : login-ecr
386- uses : aws-actions/amazon-ecr-login@v2
387- - name : check repo and create it if not exist
388- env :
389- REPOSITORY : coordinator-proxy
390- run : |
391- aws --region ${{ env.AWS_REGION }} ecr describe-repositories --repository-names ${{ env.REPOSITORY }} && : || aws --region ${{ env.AWS_REGION }} ecr create-repository --repository-name ${{ env.REPOSITORY }}
392- - name : Build and push
393- uses : docker/build-push-action@v3
394- env :
395- ECR_REGISTRY : ${{ steps.login-ecr.outputs.registry }}
396- REPOSITORY : coordinator-proxy
397- IMAGE_TAG : ${{ github.ref_name }}
398- with :
399- context : .
400- file : ./build/dockerfiles/coordinator-proxy.Dockerfile
401- push : true
402- tags : |
403- scrolltech/${{ env.REPOSITORY }}:${{ env.IMAGE_TAG }}
404- ${{ env.ECR_REGISTRY }}/${{ env.REPOSITORY }}:${{ env.IMAGE_TAG }}
405-
406363 coordinator-cron :
407364 runs-on :
408365 group : scroll-reth-runner-group
0 commit comments