message: [github-action] remove use of mplatform/mquery in docker build
diff: @@ -89,13 +89,7 @@ jobs:
  - uses: actions/checkout@v2
  with:
  submodules: true
  - - name: Set up QEMU
  - uses: docker/setup-qemu-action@v1
  - with:
  - platforms: all
  - - name: Set up Docker Buildx
  - id: buildx
  - uses: docker/setup-buildx-action@v1
  +
  - name: Prepare
  id: prepare
  run: |
  @@ -115,29 +109,31 @@ jobs:
  ${{ matrix.build_args }} \
  ${TAGS} --file etc/docker/Dockerfile ."
  + - name: Set up QEMU
  + uses: docker/setup-qemu-action@v1
  + with:
  + platforms: all
  +
  + - name: Set up Docker Buildx
  + uses: docker/setup-buildx-action@v1
  +
  - name: Docker Buildx (build)
  run: |
  docker buildx build --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }}
  - name: Docker Login
  if: success() && github.repository == 'openthread/ot-br-posix' && github.event_name != 'pull_request' && matrix.push
  + uses: docker/login-action@v1
  env:
  - DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
  - DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
  - run: |
  - echo "${DOCKER_PASSWORD}" | docker login --username "${DOCKER_USERNAME}" --password-stdin
  + username: ${{ secrets.DOCKER_USERNAME }}
  + password: ${{ secrets.DOCKER_PASSWORD }}
  - name: Docker Buildx (push)
  if: success() && github.repository == 'openthread/ot-br-posix' && github.event_name != 'pull_request' && matrix.push
  run: |
  docker buildx build --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }}
  - - name: Docker Check Manifest
  - if: always() && github.repository == 'openthread/ot-br-posix' && github.event_name != 'pull_request' && matrix.push
  - run: |
  - docker run --rm mplatform/mquery ${{ steps.prepare.outputs.docker_image }}:${{ steps.prepare.outputs.version }}
  -
  - - name: Clear
  + - name: Inspect Image
  if: always() && github.repository == 'openthread/ot-br-posix' && github.event_name != 'pull_request' && matrix.push
  run: |
  - rm -f ${HOME}/.docker/config.json
  + docker buildx imagetools inspect ${{ steps.prepare.outputs.docker_image }}:${{ steps.prepare.outputs.version }}
  