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

GitHub Action Failing to push image to quay.io #25

Closed
husky-parul opened this issue Dec 21, 2022 · 7 comments
Closed

GitHub Action Failing to push image to quay.io #25

husky-parul opened this issue Dec 21, 2022 · 7 comments
Assignees

Comments

@husky-parul
Copy link
Collaborator

husky-parul commented Dec 21, 2022

To be able to push image to quay we need bot token in https://quay.io/repository/sustainable_computing_io/kepler-operator to be used by GH Actions. Need admin access to https://quay.io/repository/sustainable_computing_io/kepler-operator

image

@rootfs
Copy link
Contributor

rootfs commented Jan 3, 2023

the bot name and token are setup for the repo, please use BOT_NAME and BOT_TOKEN env to push images

@husky-parul husky-parul reopened this Jan 23, 2023
@husky-parul husky-parul changed the title Setup token in quay.io for github push action GitHub Action Secrets None Jan 23, 2023
@husky-parul husky-parul changed the title GitHub Action Secrets None GitHub Action Failing to push image to quay.io Jan 23, 2023
@husky-parul
Copy link
Collaborator Author

Issue Description

GitHub action fails to push image to quay.io using Repository secrets BOT_NAME and BOT_TOKEN

image

Example workflow: https://github.com/sustainable-computing-io/kepler-operator/actions/runs/3961813873/jobs/6787797431#step:2:16

@rootfs @SamYuan1990

@SamYuan1990
Copy link
Collaborator

Issue Description

GitHub action fails to push image to quay.io using Repository secrets BOT_NAME and BOT_TOKEN

image

Example workflow: https://github.com/sustainable-computing-io/kepler-operator/actions/runs/3961813873/jobs/6787797431#step:2:16

@rootfs @SamYuan1990

wait a min, it's CI job, hence push CI build result to repository?

@husky-parul husky-parul self-assigned this Jan 23, 2023
@husky-parul
Copy link
Collaborator Author

Yes. I found something similar here, https://docs.github.com/en/actions/security-guides/encrypted-secrets

For secrets stored at the environment level, you can enable required reviewers to control access to the secrets.
A workflow job cannot access environment secrets until approval is granted by required approvers.

@husky-parul
Copy link
Collaborator Author

Going to test it with push

@husky-parul
Copy link
Collaborator Author

resolved in #39

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

No branches or pull requests

3 participants