fix: select proper box certificate by SNI presence (#470) #640
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: Docker Image Publish Matrix (All) | |
| on: | |
| workflow_dispatch: | |
| workflow_call: | |
| inputs: | |
| tcw_commit_hash: | |
| type: string | |
| push: | |
| branches: | |
| - master | |
| - develop | |
| tags: | |
| - tc_nightly* | |
| - tc_v*.*.* | |
| pull_request: | |
| branches: | |
| - master | |
| - develop | |
| jobs: | |
| test_commit_hash: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| submodules: recursive | |
| ref: ${{ inputs.tcw_commit_hash }} | |
| - name: Verify commit hash | |
| if: ${{ inputs.tcw_commit_hash != '' }} | |
| run: | | |
| COMMIT_HASH=$(git rev-parse HEAD) | |
| if [ "$COMMIT_HASH" != "${{ inputs.tcw_commit_hash }}" ]; then | |
| echo "Error: Checked out commit hash ($COMMIT_HASH) does not match the expected hash (${{ inputs.tcw_commit_hash }})." | |
| exit 1 | |
| else | |
| echo "Commit hash verified: $COMMIT_HASH" | |
| fi | |
| ubuntu: | |
| needs: test_commit_hash | |
| uses: ./.github/workflows/publish_docker_matrix_base.yml | |
| with: | |
| system: "ubuntu" | |
| dockerfile: "DockerfileUbuntu" | |
| platforms: '["linux/amd64", "linux/arm/v7", "linux/arm64/v8", "linux/ppc64le", "linux/s390x"]' | |
| primary_image: true | |
| error_platforms: '["linux/s390x"]' | |
| noasan_fallback_platforms: '["linux/arm/v7", "linux/arm64/v8", "linux/ppc64le"]' | |
| tcw_commit_hash: ${{ inputs.tcw_commit_hash }} | |
| debian: | |
| needs: test_commit_hash | |
| uses: ./.github/workflows/publish_docker_matrix_base.yml | |
| with: | |
| system: "debian" | |
| dockerfile: "DockerfileDebian" | |
| platforms: '["linux/amd64", "linux/arm/v7", "linux/arm64/v8", "linux/i386", "linux/ppc64le", "linux/s390x"]' | |
| primary_image: false | |
| error_platforms: '["linux/s390x"]' | |
| noasan_fallback_platforms: '["linux/arm/v7", "linux/arm64/v8", "linux/ppc64le"]' | |
| tcw_commit_hash: ${{ inputs.tcw_commit_hash }} | |
| alpine: | |
| needs: test_commit_hash | |
| uses: ./.github/workflows/publish_docker_matrix_base.yml | |
| with: | |
| system: "alpine" | |
| dockerfile: "DockerfileAlpine" | |
| platforms: '["linux/amd64", "linux/arm/v6", "linux/arm/v7", "linux/arm64/v8", "linux/ppc64le", "linux/s390x", "linux/386"]' | |
| primary_image: false | |
| error_platforms: "[]" | |
| noasan_fallback_platforms: "[]" | |
| tcw_commit_hash: ${{ inputs.tcw_commit_hash }} | |
| ubuntuAsanTest: | |
| needs: test_commit_hash | |
| uses: ./.github/workflows/publish_docker_matrix_base.yml | |
| with: | |
| system: "ubuntuAsanTest" | |
| dockerfile: "DockerfileUbuntu" | |
| platforms: '["linux/arm/v7", "linux/arm64/v8", "linux/ppc64le"]' | |
| primary_image: false | |
| error_platforms: '["linux/arm/v7", "linux/arm64/v8", "linux/ppc64le"]' | |
| noasan_fallback_platforms: "[]" | |
| skip_empty_merge: true | |
| tcw_commit_hash: ${{ inputs.tcw_commit_hash }} | |
| debianAsanTest: | |
| needs: test_commit_hash | |
| uses: ./.github/workflows/publish_docker_matrix_base.yml | |
| with: | |
| system: "debianAsanTest" | |
| dockerfile: "DockerfileDebian" | |
| platforms: '["linux/arm/v7", "linux/arm64/v8", "linux/ppc64le"]' | |
| primary_image: false | |
| error_platforms: '["linux/arm/v7", "linux/arm64/v8", "linux/ppc64le"]' | |
| noasan_fallback_platforms: "[]" | |
| skip_empty_merge: true | |
| tcw_commit_hash: ${{ inputs.tcw_commit_hash }} |