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

[chore] Only Login on main push #1731

Merged
merged 1 commit into from
May 11, 2023

Conversation

jaronoff97
Copy link
Contributor

This PR makes it so that we only attempt github action logins on a main push to the repo rather than on every PR which was causing failures due to missing credentials.

@jaronoff97 jaronoff97 requested a review from a team as a code owner May 11, 2023 15:23
Copy link
Member

@TylerHelmuth TylerHelmuth left a comment

Choose a reason for hiding this comment

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

Without the login wont the Build and Push step fail?

@jaronoff97
Copy link
Contributor Author

@TylerHelmuth we only run the push step for the same condition, and i don't think we need a login to build the docker image.

@jaronoff97
Copy link
Contributor Author

@TylerHelmuth
Copy link
Member

I was looking for and if statement and missed the push condition on that job 👍

@jaronoff97 jaronoff97 merged commit 45ebd3f into open-telemetry:main May 11, 2023
16 checks passed
@jaronoff97 jaronoff97 deleted the inst-login-fix branch May 11, 2023 18:23
ItielOlenick pushed a commit to ItielOlenick/opentelemetry-operator that referenced this pull request May 1, 2024
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.

None yet

2 participants