Fix network timeout in arm docker images #6533
This file contains 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: CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
merge_group: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
env: | |
# renovate: datasource=npm packageName=npm | |
NPM_VERSION: 10.9.0 | |
jobs: | |
build: | |
name: Build | |
uses: ./.github/workflows/build-node.yml | |
docker: | |
name: Docker (${{ matrix.platform }}) | |
strategy: | |
matrix: | |
platform: [ amd64, arm64 ] | |
uses: ./.github/workflows/docker-build-and-test.yml | |
with: | |
platform: ${{ matrix.platform }} | |
test: | |
name: Test | |
uses: ./.github/workflows/test.yml | |
lint: | |
name: Lint | |
uses: ./.github/workflows/lint.yml | |
renovate: | |
name: Renovate | |
uses: ./.github/workflows/renovate-validate-config.yml | |
success: | |
name: Success | |
needs: [build, docker, test, lint, renovate] | |
runs-on: ubuntu-latest | |
if: always() | |
steps: | |
- name: Check job status | |
run: jq --exit-status 'all(.result == "success")' <<< '${{ toJson(needs) }}' | |
- name: Success | |
run: exit 0 | |
publish-docker: | |
name: Publish (docker) | |
if: github.event_name != 'merge_group' | |
needs: [success] | |
uses: ./.github/workflows/publish-docker.yml | |
publish-npm: | |
name: Publish (npm) | |
if: github.event_name != 'merge_group' | |
needs: [success] | |
uses: ./.github/workflows/publish-npm.yml | |
secrets: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |