-
Notifications
You must be signed in to change notification settings - Fork 179
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
Add support for private registry builds #6742
Open
sjonpaulbrown
wants to merge
2
commits into
master
Choose a base branch
from
jp/support-private-registry
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+22
−4
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6742 +/- ##
==========================================
+ Coverage 41.19% 41.24% +0.04%
==========================================
Files 2052 2054 +2
Lines 182215 182368 +153
==========================================
+ Hits 75069 75209 +140
- Misses 100852 100861 +9
- Partials 6294 6298 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
sjonpaulbrown
had a problem deploying
to
Production Docker Registry
November 20, 2024 16:10
— with
GitHub Actions
Failure
sjonpaulbrown
had a problem deploying
to
Production Docker Registry
November 20, 2024 16:20
— with
GitHub Actions
Failure
sjonpaulbrown
had a problem deploying
to
Production Docker Registry
November 20, 2024 16:30
— with
GitHub Actions
Failure
sjonpaulbrown
had a problem deploying
to
Production Docker Registry
November 20, 2024 20:20
— with
GitHub Actions
Failure
sjonpaulbrown
temporarily deployed
to
Production Docker Registry
November 20, 2024 20:21
— with
GitHub Actions
Inactive
sjonpaulbrown
force-pushed
the
jp/support-private-registry
branch
from
November 20, 2024 23:51
9846741
to
58c8ab8
Compare
sjonpaulbrown
had a problem deploying
to
Production Docker Registry
November 20, 2024 23:58
— with
GitHub Actions
Failure
sjonpaulbrown
had a problem deploying
to
Production Docker Registry
November 20, 2024 23:58
— with
GitHub Actions
Failure
sjonpaulbrown
force-pushed
the
jp/support-private-registry
branch
from
November 21, 2024 00:04
58c8ab8
to
2ba50ed
Compare
sjonpaulbrown
temporarily deployed
to
Production Docker Registry
November 21, 2024 00:16
— with
GitHub Actions
Inactive
sjonpaulbrown
deployed
to
Production Docker Registry
November 21, 2024 00:22
— with
GitHub Actions
Active
sjonpaulbrown
had a problem deploying
to
Production Docker Registry
November 21, 2024 00:22
— with
GitHub Actions
Error
Kay-Zee
approved these changes
Nov 21, 2024
peterargue
approved these changes
Nov 21, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add Support for Private Registry Builds
This PR introduces support for building and pushing Docker images to a private registry. The changes include:
New Input
private_build
:private_build
has been added to the workflow.Enhanced Google Cloud Authentication:
gcloud auth configure-docker
logic to conditionally authenticate with the private registry (us-central1-docker.pkg.dev
) whenprivate_build
is set to true. Defaults to public registry otherwise.Container Registry Variable Setup:
CONTAINER_REGISTRY
environment variable.PRIVATE_REGISTRY
andPUBLIC_REGISTRY
based on the value of theprivate_build
input.Build/Push Commands:
make
commands to reference theCONTAINER_REGISTRY
environment variable.Improved Workflow Modularity:
Use Case:
This enhancement is designed to support scenarios where private Docker image builds are required, such as deploying hotfixes or managing private image distributions. It maintains compatibility with existing public registry workflows while adding flexibility for private builds.
Example Workflow Executions