Skip to content

ci(github): Add secret inheritance to workflows #15

ci(github): Add secret inheritance to workflows

ci(github): Add secret inheritance to workflows #15

Workflow file for this run

on:
workflow_dispatch:
push:
paths:
- "torch/**"
- ".github/workflows/torch-base.yml"
- ".github/workflows/torch.yml"
- ".github/workflows/build.yml"
jobs:
build:
strategy:
matrix:
cuda: [12.1.1, 12.0.1, 11.8.0]
include:
- torch: 2.0.1
vision: 0.15.2
audio: 2.0.2
uses: ./.github/workflows/torch.yml
secrets: inherit
with:
tag: ${{ format('base-cuda{0}-torch{1}-vision{2}-audio{3}', matrix.cuda, matrix.torch, matrix.vision, matrix.audio) }}
builder-base-image: nvidia/cuda:${{ matrix.cuda }}-devel-ubuntu20.04
base-image: nvidia/cuda:${{ matrix.cuda }}-base-ubuntu20.04
torch-version: ${{ matrix.torch }}
torchvision-version: ${{ matrix.vision }}
torchaudio-version: ${{ matrix.audio }}
build-extras: true