From 376dece4629e4d65b30cb2a35c14987933da103e Mon Sep 17 00:00:00 2001 From: James Kim Date: Mon, 27 Nov 2023 20:46:01 -0500 Subject: [PATCH] build and push bundler-reverse-proxy and anvil-setup --- .../build-and-upload-all-services.yaml | 46 +++++++++++++++++++ bundler-config.json | 13 ------ 2 files changed, 46 insertions(+), 13 deletions(-) delete mode 100644 bundler-config.json diff --git a/.github/workflows/build-and-upload-all-services.yaml b/.github/workflows/build-and-upload-all-services.yaml index 8b309b7..2543b24 100644 --- a/.github/workflows/build-and-upload-all-services.yaml +++ b/.github/workflows/build-and-upload-all-services.yaml @@ -17,3 +17,49 @@ jobs: secrets: inherit with: bundler-name: transeptor-bundler + build-and-upload: + name: Build and publish images + runs-on: ubuntu-latest + environment: dockerhub + steps: + - name: Check out the repo + uses: actions/checkout@v4 + with: + submodules: true + + - name: Log in to Docker Hub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN_USERNAME }} + password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN_SECRET }} + + - name: Set up QEMU + uses: docker/setup-qemu-action@v2 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + + - name: Build and push anvil-setup + uses: docker/build-push-action@v4 + with: + context: . + file: ./Dockerfile + target: anvil-setup + platforms: linux/amd64,linux/arm64 + push: true + tags: | + ${{ secrets.DOCKER_HUB_ACCESS_TOKEN_USERNAME }}/aa-playground:anvil-setup-${{ github.sha }} + ${{ secrets.DOCKER_HUB_ACCESS_TOKEN_USERNAME }}/aa-playground:anvil-setup-latest + + + - name: Build and push bundler-reverse-proxy + uses: docker/build-push-action@v4 + with: + context: . + file: ./Dockerfile + target: bundler-reverse-proxy + platforms: linux/amd64,linux/arm64 + push: true + tags: | + ${{ secrets.DOCKER_HUB_ACCESS_TOKEN_USERNAME }}/aa-playground:bundler-reverse-proxy-${{ github.sha }} + ${{ secrets.DOCKER_HUB_ACCESS_TOKEN_USERNAME }}/aa-playground:bundler-reverse-proxy-latest + diff --git a/bundler-config.json b/bundler-config.json deleted file mode 100644 index da9d1ed..0000000 --- a/bundler-config.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "networks": { - "dev": { - "entryPoints": ["0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789"], - "relayer": "0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80", - "beneficiary": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266", - "rpcEndpoint": "http://anvil:8545", - "minInclusionDenominator": 10, - "throttlingSlack": 10, - "banSlack": 10 - } - } -}