Skip to content

Commit

Permalink
update release tags
Browse files Browse the repository at this point in the history
Signed-off-by: Akash Singhal <akashsinghal@microsoft.com>
  • Loading branch information
akashsinghal committed Aug 9, 2022
1 parent 7985eea commit 8e19c16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/oras-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+-alpha"
- "v[0-9]+.[0-9]+.[0-9]+-rc"
- "v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+"

jobs:
publish:
Expand Down
4 changes: 2 additions & 2 deletions docs/extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ type ExtendedStorage interface {
}
```

The `GCExtensionHandler` interface defines three methods that are used in the garbage colection mark and sweep process. The `Mark` method is invoked for each `GCExtensionHandler` after the existing mark process finishes in `MarkAndSweep`. It is used to determine if the manifest and blobs should have their temporary ref count incremented in the case of an artifact manifest, or if the manifest and it's referrers should be recursively indexed for deletion in the case of a non-artifact manifest. `RemoveManifest` is invoked to extend the `RemoveManifest` functionality for the `Vacuum`. New or special-cased manifests may require custom manifest deletion which can be defined with this method. `SweepBlobs` is used to add artifact manifest/blobs to the original `markSet`. These blobs are retained after determining their ref count is still positive.
The `GCExtensionHandler` interface defines three methods that are used in the garbage colection mark and sweep process. The `Mark` method is invoked for each `GCExtensionHandler` after the existing mark process finishes in `MarkAndSweep`. It is used to determine if the manifest and blobs should have their temporary ref count incremented in the case of an artifact manifest, or if the manifest and it's referrers should be recursively indexed for deletion in the case of a non-artifact manifest. `OnManifestDelete` is invoked to extend the `RemoveManifest` functionality for the `Vacuum`. New or special-cased manifests may require custom manifest deletion which can be defined with this method. `SweepBlobs` is used to add artifact manifest/blobs to the original `markSet`. These blobs are retained after determining their ref count is still positive.

```
type GCExtensionHandler interface {
Expand All @@ -53,7 +53,7 @@ type GCExtensionHandler interface {
manifestDigest digest.Digest,
dryRun bool,
removeUntagged bool) (bool, error)
RemoveManifest(ctx context.Context,
OnManifestDelete(ctx context.Context,
storageDriver driver.StorageDriver,
registry distribution.Namespace,
dgst digest.Digest,
Expand Down

0 comments on commit 8e19c16

Please sign in to comment.