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

ci(cron): install oras v1.2.0 in a separate step #45

Merged
merged 3 commits into from
Oct 14, 2024

Conversation

DmitriyLewen
Copy link
Collaborator

@DmitriyLewen DmitriyLewen commented Oct 14, 2024

Description

GitHub now uses ubuntu-24.04 as latest version (actions/runner-images#10687)
But 24.04 doesn't have oras pre-installed(https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md).
So we need to install oras manually.

test run(check only oras version):

@DmitriyLewen DmitriyLewen self-assigned this Oct 14, 2024
@DmitriyLewen DmitriyLewen marked this pull request as ready for review October 14, 2024 05:05
declare -A registries=(
["ghcr.io"]="${lowercase_repo}"
["public.ecr.aws"]="${lowercase_repo}"
["docker.io"]="${lowercase_repo}"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you please open another PR for this change?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

no problem

@DmitriyLewen DmitriyLewen changed the title ci(cron): install oras v1.2.0 ci(cron): install oras v1.2.0 in a separate step Oct 14, 2024
@knqyf263 knqyf263 merged commit e63ced1 into aquasecurity:main Oct 14, 2024
5 checks passed
@DmitriyLewen DmitriyLewen deleted the ci/cron-install-oras branch October 14, 2024 08:47
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.

2 participants