Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker nightly image #1684

Merged
merged 2 commits into from
Sep 21, 2023
Merged

Docker nightly image #1684

merged 2 commits into from
Sep 21, 2023

Conversation

rahul-tuli
Copy link
Member

@rahul-tuli rahul-tuli commented Jul 24, 2023

This PR adds support to build and push sparseml-nightly docker images to github container registry

The workflow will be run once everyday at 1:00 am, and includes the following images:

  • sparseml-nightly Latest sparseml-nightly from main, will all dependencies installed
  • sparseml-nightly:latest Same as above
  • sparseml-nightly:YYYYMMDD sparseml-nightly from YYYYMMDD with all dependencies installed
  • sparseml-nightly:base-YYYYMMDD sparseml-nightly from YYYYMMDD with only base dependencies installed

These images will live under the https://github.com/orgs/neuralmagic/packages?repo_name=sparseml
and can be pulled using:

docker pull <IMAGE-NAME>

@rahul-tuli rahul-tuli changed the title [WIP] Docker nightly image Docker nightly image Jul 24, 2023
branches:
- 'main'
schedule:
- cron: '0 1 * * *'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will be run once a day at 1:00 am

BRANCH=main
push: true
tags: |
ghcr.io/neuralmagic/sparseml-nightly:latest
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sparseml-nightly:latest

BRANCH=main
push: true
tags: |
ghcr.io/neuralmagic/sparseml-nightly:${{ steps.extract_tag.outputs.tag }}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sparseml-nightly:YYYMMDD

BRANCH=main
push: true
tags: |
ghcr.io/neuralmagic/sparseml-nightly:base-${{ steps.extract_tag.outputs.tag }}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sparseml-nightly:base-YYYMMDD

@bfineran bfineran merged commit 07d7d4f into main Sep 21, 2023
7 of 11 checks passed
@bfineran bfineran deleted the nightly-docker-image branch September 21, 2023 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants