chore: update Go version to 1.25.10 #907
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 }} |