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

Add support for github.com authentication token #121

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

konopka90
Copy link

Closes #120

ct.sh Outdated
auth+=(--header "Authorization: Bearer ${token}")
fi

curl "${auth[@]}" --retry 5 --retry-delay 1 -sSLo ct.tar.gz "https://github.com/helm/chart-testing/releases/download/$version/chart-testing_${version#v}_linux_$arch.tar.gz"
cosign verify-blob --certificate $CT_CERT --signature $CT_SIG \
Copy link
Author

Choose a reason for hiding this comment

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

I have question about "cosign" - does it download "CT_CERT" and "CT_SIG" from github.com or not ?

Copy link
Author

Choose a reason for hiding this comment

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

I assume that yes so I've added manual download of the files with curl

Signed-off-by: Patryk Konopka <[email protected]>
Signed-off-by: Patryk Konopka <[email protected]>
@konopka90 konopka90 changed the title Add "token" option to action Add support for github.com authentication token Apr 12, 2023
Signed-off-by: Patryk Konopka <[email protected]>
Signed-off-by: Patryk Konopka <[email protected]>
@cpanato
Copy link
Member

cpanato commented Jul 11, 2023

@konopka90 can you rebase? thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for github.com authentication token
2 participants