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(artifact): check upload artifact support for GHES #382

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

crazy-max
Copy link
Member

relates to docker/build-push-action#1154

@actions/artifact v2+ is not yet supported on GHES. Users trying to upload an artifact will have an error that doesn't give enough context:

Failed to get backend IDs: The provided JWT token is invalid and/or missing claims

Before trying to downgrade to v1 we should at least return a better error message. This is similar to what actions/upload-artifact currently returns: https://github.com/actions/toolkit/blob/361a115e538ac6d8eb06cc47f3fcecce557d04c8/packages/artifact/src/internal/shared/errors.ts#L32

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max crazy-max force-pushed the github-upload-artifact-ghes branch from 861955a to 4ce8a70 Compare June 24, 2024 12:15
@crazy-max crazy-max merged commit bbf0a8d into docker:main Jun 25, 2024
38 checks passed
@crazy-max crazy-max deleted the github-upload-artifact-ghes branch June 25, 2024 07: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

Successfully merging this pull request may close these issues.

None yet

1 participant