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

Quay login only works if commit is in master #343

Merged
merged 1 commit into from
Oct 19, 2020

Conversation

gianarb
Copy link
Contributor

@gianarb gianarb commented Oct 16, 2020

GitHub Action environment variables gets passed to PR only if they
starts from a branch that is local, so fork does not get a QUAY PASSOWRD
and USERNAME, this is to avoid security issue.

GitHub is working at it but for now that's what we have.

We push images to Quay only if the commit is in master, but during a
re-work of the GitHub Action we login all the time. And that's a bug.

Fixes CI for #342

@gianarb gianarb added the ready-to-merge Signal to Mergify to merge the PR. label Oct 16, 2020
@gianarb gianarb requested a review from parauliya October 16, 2020 15:00
@codecov
Copy link

codecov bot commented Oct 16, 2020

Codecov Report

Merging #343 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #343   +/-   ##
=======================================
  Coverage   23.79%   23.79%           
=======================================
  Files          14       14           
  Lines        1244     1244           
=======================================
  Hits          296      296           
  Misses        928      928           
  Partials       20       20           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 841311d...0cd07a0. Read the comment docs.

GitHub Action environment variables gets passed to PR only if they
starts from a branch that is local, so fork does not get a QUAY PASSOWRD
and USERNAME, this is to avoid security issue.

GitHub is working at it but for now that's what we have.

We push images to Quay only if the commit is in master, but during a
re-work of the GitHub Action we login all the time. And that's a bug.

Signed-off-by: Gianluca Arbezzano <[email protected]>
@gianarb gianarb force-pushed the hotfix/ci-hub-login-on-mater branch from 8d0fb91 to 0cd07a0 Compare October 16, 2020 15:02
@gianarb gianarb requested review from kqdeng and removed request for parauliya October 19, 2020 15:40
@gianarb gianarb merged commit e368e84 into master Oct 19, 2020
@gianarb gianarb deleted the hotfix/ci-hub-login-on-mater branch October 19, 2020 15:44
@mmlb mmlb removed the ready-to-merge Signal to Mergify to merge the PR. label Jan 25, 2021
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.

3 participants