Skip to content

Commit

Permalink
Update validate_docker_images.yml
Browse files Browse the repository at this point in the history
Pass generate_dockerhub_images variable
  • Loading branch information
juliagmt-google authored May 29, 2024
1 parent 0247da4 commit 9304d91
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/validate_docker_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,21 @@ on:
- 'nightly'
- 'test'
- 'release'

generate_dockerhub_images:
description: 'Whether to generate Docker Hub images (no ghcr.io/ prefix for release if true)'
default: false
required: false
type: boolean
push:
branches:
- '*'

jobs:
generate-matrix:
uses: pytorch/test-infra/.github/workflows/generate_docker_release_matrix.yml@main
with:
channel: ${{ inputs.channel }}
generate_dockerhub_images : ${{ inputs.generate_dockerhub_images }}
secrets: inherit
run-gpu-tests:
needs: generate-matrix
Expand Down

0 comments on commit 9304d91

Please sign in to comment.