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

Build container image on-demand #6806

Merged
merged 2 commits into from
Sep 3, 2024
Merged

Conversation

ebr
Copy link
Member

@ebr ebr commented Sep 3, 2024

Summary

This pull request updates the container build GitHub Actions workflow to include an option that allows pushing the built image to the container registry from any branch (in addition to main), but only when triggered manually using Workflow Dispatch.

This feature enables the creation of ad-hoc images from any branch to test changes in a containerized environment, eliminating the need to build and push images locally.

Additionally, it supports forked repositories, where the image will be pushed to the package registry owned by the fork's owner.

The PR also bumps Github Action version pins in the workflow in response to deprecation warnings.

Merge Plan

Merge when approved

Checklist

  • The PR has a short but descriptive title, suitable for a changelog

@ebr ebr changed the title Ebr/build on demand Build container image on-demand via workflow dispatch Sep 3, 2024
@github-actions github-actions bot added the CI-CD Continuous integration / Continuous delivery label Sep 3, 2024
@ebr ebr changed the title Build container image on-demand via workflow dispatch Build container image on-demand Sep 3, 2024
Copy link
Collaborator

@maryhipp maryhipp left a comment

Choose a reason for hiding this comment

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

nice

@ebr ebr enabled auto-merge (rebase) September 3, 2024 20:01
@ebr ebr merged commit a301ef5 into invoke-ai:main Sep 3, 2024
14 checks passed
@ebr ebr deleted the ebr/build-on-demand branch September 3, 2024 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-CD Continuous integration / Continuous delivery
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants