Skip to content

Commit

Permalink
include
Browse files Browse the repository at this point in the history
  • Loading branch information
arturcic committed Jan 18, 2025
1 parent c37c5d8 commit 0a9ef35
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,16 @@ jobs:
run: dotnet run/build.dll --target=SetMatrix

build_deps:
name: Deps
name: Deps (${{ matrix.arch }} - ${{ matrix.distro }})
needs: [ prepare ]
env:
PUSH_IMAGES: ${{github.event_name != 'pull_request' && github.repository_owner == 'GitTools'}}
runs-on: ${{ matrix.runner }}
strategy:
matrix:
distro: ${{ fromJson(needs.prepare.outputs.dockerDistros) }}
runner: [ubuntu-24.04, ubuntu-24.04-arm]
arch: [amd64, arm64]
runner: [ubuntu-24.04, ubuntu-24.04-arm]
distro: ${{ fromJson(needs.prepare.outputs.dockerDistros) }}
exclude:
- runner: ubuntu-24.04-arm
arch: amd64
Expand Down Expand Up @@ -78,7 +78,8 @@ jobs:

- name: '[Build Docker images]'
shell: pwsh
run: dotnet run/build.dll `
run: |
dotnet run/build.dll `
--target=DockerBuildDeps --arch=${{ matrix.arch }} `
--dotnet_distro=${{ matrix.distro }} --docker_registry=dockerhub `
--push_images=${{env.PUSH_IMAGES}} --verbosity=diagnostic
Expand All @@ -92,7 +93,8 @@ jobs:
password: ${{ secrets.DOCKER_GITHUB_TOKEN }}
- name: '[Build Docker images]'
shell: pwsh
run: dotnet run/build.dll `
run: |
dotnet run/build.dll `
--target=DockerBuildDeps --arch=${{ matrix.arch }} `
--dotnet_distro=${{ matrix.distro }} --docker_registry=github `
--push_images=${{env.PUSH_IMAGES}} --verbosity=diagnostic

0 comments on commit 0a9ef35

Please sign in to comment.