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

feat!: add registry login parameter #292

Merged
merged 4 commits into from
Jul 28, 2023
Merged

Conversation

brivu
Copy link
Contributor

@brivu brivu commented Jul 26, 2023

Currently, users need to log into different container registries in order to pull images required to build their docker images in the build-and-push command.

Right now, only DockerHub is supported. This pull request adds the ability for users to log into other container registries such as Heroku or GitHub with the use of the container_registry_login parameter.

If the container_registry_login parameter is set to true, the user can provide custom login steps to any container registry with the registry_login parameter.

@brivu brivu requested a review from a team as a code owner July 26, 2023 18:33
@brivu brivu changed the title fea!t: add registry login parameter feat!: add registry login parameter Jul 26, 2023
@brivu brivu force-pushed the feat/image-registry-login branch from d3dd157 to 2117be0 Compare July 26, 2023 19:27
@brivu brivu force-pushed the feat/image-registry-login branch from 086c4fc to 8f0b269 Compare July 26, 2023 21:57
Copy link
Contributor

@KyleTryon KyleTryon left a comment

Choose a reason for hiding this comment

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

Looks great 👍

type: steps
default:
- run: >-
echo "Error - container_registry_login parameter is set to true without
Copy link
Contributor

Choose a reason for hiding this comment

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

We should add a link to the examples in the orb registry.

@brivu brivu merged commit 699f3da into master Jul 28, 2023
2 checks passed
@brivu brivu deleted the feat/image-registry-login branch July 28, 2023 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add assume role capabilities to build image command
2 participants