message: Update release workflow for op-exporter
diff: @@ -23,6 +23,7 @@ jobs:
  proxyd: ${{ steps.packages.outputs.proxyd }}
  rpc-proxy: ${{ steps.packages.outputs.rpc-proxy }}
  hardhat-node: ${{ steps.packages.outputs.hardhat-node }}
  + op-exporter : ${{ steps.packages.outputs.op-exporter }}
  steps:
  - name: Checkout Repo
  @@ -98,14 +99,6 @@ jobs:
  push: true
  tags: ethereumoptimism/l2geth:${{ needs.release.outputs.l2geth }},ethereumoptimism/l2geth:latest
  - - name: Publish op_exporter
  - uses: docker/build-push-action@v2
  - with:
  - context: .
  - file: ./ops/docker/Dockerfile.op_exporter
  - push: true
  - tags: ethereumoptimism/op_exporter:${{ needs.release.outputs.l2geth }}
  -
  - name: Publish rpc-proxy
  uses: docker/build-push-action@v2
  with:
  @@ -203,6 +196,43 @@ jobs:
  GITCOMMIT=${{ steps.build_args.outputs.GITCOMMIT }}
  GITVERSION=${{ steps.build_args.outputs.GITVERSION }}
  + op-exporter:
  + name: Publish op-exporter Version ${{ needs.release.outputs.canary-docker-tag }}
  + needs: release
  + if: needs.release.outputs.op-exporter != ''
  + runs-on: ubuntu-latest
  +
  + steps:
  + - name: Checkout
  + uses: actions/checkout@v2
  + - name: Set up Docker Buildx
  + uses: docker/setup-buildx-action@v1
  +
  + - name: Login to Docker Hub
  + uses: docker/login-action@v1
  + with:
  + username: ${{ secrets.DOCKERHUB_ACCESS_TOKEN_USERNAME }}
  + password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN_SECRET }}
  +
  + - name: Set build args
  + id: build_args
  + run: |
  + echo ::set-output name=GITDATE::"$(date +%d-%m-%Y)"
  + echo ::set-output name=GITVERSION::$(jq -r .version ./go/op-exporter/package.json)
  + echo ::set-output name=GITCOMMIT::"$GITHUB_SHA"
  +
  + - name: Build and push
  + uses: docker/build-push-action@v2
  + with:
  + context: .
  + file: ./ops/docker/Dockerfile.op-exporter
  + push: true
  + tags: ethereumoptimism/op-exporter:${{ needs.canary-publish.outputs.op-exporter }}
  + build-args: |
  + GITDATE=${{ steps.build_args.outputs.GITDATE }}
  + GITCOMMIT=${{ steps.build_args.outputs.GITCOMMIT }}
  + GITVERSION=${{ steps.build_args.outputs.GITVERSION }}
  +
  rpc-proxy:
  name: Publish rpc-proxy Version ${{ needs.release.outputs.rpc-proxy }}
  needs: release
  