-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't hardcode the registry URL to authenticate to, use the API respo…
…nse (#1525) There were a few paths where the registry to log in to was hardcoded based on the environment (but not all of them -- for instance the Push path using the go client library was already using this field to auth against!) This change makes the Push and Pull flow use the pre-existing `ImageRepository` flow in the Deploy(ment) response from Astro. This also removes a bit of duplicated code -- various places were stripping of the `Bearer ` prefix from the password before calling the Push function, but that function itself did that. Co-authored-by: Neel Dalsania <neel.dalsania@astronomer.io>
- Loading branch information
1 parent
77ce3b2
commit f69b145
Showing
10 changed files
with
234 additions
and
110 deletions.
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.