Skip to content

Goroutine leak

Goroutine leak #728

name: Test Docker Image
on:
push:
branches:
- master
pull_request:
branches:
- master
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
test-build-docker-image:
runs-on: ${{ matrix.platform == 'linux/arm64' && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }}
strategy:
matrix:
platform: [linux/amd64, linux/arm64]
remote_dockerfile: # download from: https://github.com/PingCAP-QE/artifacts/tree/main/dockerfiles/cd/builders/tidb-dashboard
- Dockerfile # builder is rocky linux 8
- centos7/Dockerfile # builder is centos 7
fail-fast: true
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Read VERSION file
id: getversion
run: echo "::set-output name=version::$(git describe --tags --dirty --always)"
- name: Download Dockerfile
run: |
wget "https://github.com/PingCAP-QE/artifacts/raw/refs/heads/main/dockerfiles/cd/builders/tidb-dashboard/${{ matrix.remote_dockerfile }}" -O Dockerfile
- name: Build
uses: docker/build-push-action@v6
with:
push: false
context: .
file: Dockerfile
platforms: ${{ matrix.platform }}
tags: pingcap/tidb-dashboard:${{ steps.getversion.outputs.version }}