mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Add GH Actions CI to build nightly Docker and push to GitHub Container Registry (#51755)
Summary: Currently PyTorch repository provides Dockerfile to build Docker with nightly builds, but it doesn't have CI to actually build those Dockers. This PR adds a GitHub action workflow to create PyTorch nightly build Docker and publish them to GitHub Container Registry. Also, add "--always" option to the `git describe --tags` command that generates the Docker image tag. Pull Request resolved: https://github.com/pytorch/pytorch/pull/51755 Test Plan: Manually trigger the workflow build in the GitHub Actions web UI. Reviewed By: seemethere Differential Revision: D26320180 Pulled By: xuzhao9 fbshipit-source-id: e00b472df14f5913cab9b06a41e837014e87f1c7
This commit is contained in:
committed by
Facebook GitHub Bot
parent
58eb23378f
commit
1e70b4bb73
@ -17,7 +17,7 @@ BASE_DEVEL = nvidia/cuda:$(CUDA_VERSION)-cudnn$(CUDNN_VERSION)-de
|
||||
INSTALL_CHANNEL = pytorch
|
||||
|
||||
PYTHON_VERSION = 3.7
|
||||
PYTORCH_VERSION = $(shell git describe --tags)
|
||||
PYTORCH_VERSION = $(shell git describe --tags --always)
|
||||
# Can be either official / dev
|
||||
BUILD_TYPE = dev
|
||||
BUILD_PROGRESS = auto
|
||||
|
Reference in New Issue
Block a user