Skip to content

fix(megatron): fallback to default image if base image is blank #4

fix(megatron): fallback to default image if base image is blank

fix(megatron): fallback to default image if base image is blank #4

Workflow file for this run

on:
workflow_dispatch:
inputs:
base-image:
description: 'Base image to use'
required: true
push:
paths:
- "megatron/**"
- ".github/workflows/megatron.yml"
- ".github/workflows/build.yml"
jobs:
build:
env:
DEFAULT_IMAGE: ghcr.io/coreweave/ml-containers/torch-extras:bfe03aa-nccl-cuda12.4.1-ubuntu22.04-nccl2.21.5-1-torch2.4.0-vision0.19.0-audio2.4.0
uses: ./.github/workflows/build.yml

Check failure on line 18 in .github/workflows/megatron.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/megatron.yml

Invalid workflow file

The workflow is not valid. .github/workflows/megatron.yml (Line: 18, Col: 5): Unexpected value 'uses' .github/workflows/megatron.yml (Line: 19, Col: 5): Unexpected value 'secrets'
secrets: inherit
with:
image-name: megatron
folder: megatron
build-args: |
BASE_IMAGE=${{ inputs.base-image || env.DEFAULT_IMAGE }}