GitHub Actions- Create Artifact Container failed: Artifact storage quota has been hit. Unable to upload any new artifacts

3.2k views Asked by At

I have a GitHub workflow that creates artifacts (docker images and log files).

My repository is private and part of an organization.

I'm trying to upload new artifact with upload-artifact action but getting the error: Create Artifact Container failed: Artifact storage quota has been hit. Unable to upload any new artifacts

I read there's a limit of 10GB per month for private repositories and no limit for public but I can't change my repository visibility.

I tried to use gha-remove-artifacts action and successfully removed all artifacts, but I still cant upload new artifacts.

Any ideas?

1

There are 1 answers

2
jakobinn On

In my case I just had to wait a little while before Github noticed that some artifacts had been deleted and then I could continue.

You can also specify when Github deletes old artifacts automatically for you in settings. Settings -> Actions -> General and find Artifact and log retention.

Artifact and log retention