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

Issue #682,#688 - Bug: Actions workflow pushes docker images to GitHub con… #683

Merged
merged 1 commit into from
Jul 14, 2023

Conversation

blakep7
Copy link
Contributor

@blakep7 blakep7 commented Jul 7, 2023

…tainer registry, Stop pushing semantic version to dockerhub, Bug: CI Workflow failing due to Docker update step.

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

  • Updated our GH action workflow to stop pushing semantic version tagged images to Dockerhub.
  • Updated our GH action workflow to push our testing tagged images to GitHub container registry.
  • Added command to purge all old docker and moby dependencies before installing the updated versions.

Necessary Repository Settings
Found in: Repo Settings -> Actions -> General

  • Workflow permissions
    • Read and write permissions should be selected here, this gives our ephemeral GITHUB_TOKEN default secret access to push to ghcr.

Fixes #682
Fixes #688

@blakep7 blakep7 added the bug label Jul 7, 2023
@blakep7 blakep7 force-pushed the dev-ghcr-update branch 2 times, most recently from d028eda to 4f3a112 Compare July 7, 2023 19:52
@blakep7
Copy link
Contributor Author

blakep7 commented Jul 7, 2023

Added a new step to check and ensure that all repository environment variables and secrets are set before running the workflow.

…s docker images to GitHub container registry, Stop pushing semantic version to dockerhub, CI Workflow failing due to Docker update step.

Signed-off-by: blakep7 <pearsonblake9@gmail.com>
@blakep7 blakep7 changed the title Issue #682 - Bug: Actions workflow pushes docker images to GitHub con… Issue #682,#688 - Bug: Actions workflow pushes docker images to GitHub con… Jul 14, 2023
@blakep7 blakep7 requested a review from bencourliss July 14, 2023 03:44
@bencourliss bencourliss merged commit 0d0194e into open-horizon:master Jul 14, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants