Skip to content

Commit

Permalink
fix(oci): Remove creation time for consistent hashes
Browse files Browse the repository at this point in the history
GitHub-Closes: #982
Signed-off-by: Cezar Craciunoiu <cezar.craciunoiu@unikraft.io>
  • Loading branch information
craciunoiuc committed Aug 29, 2024
1 parent d919e8f commit 472ba05
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions oci/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (
"encoding/json"
"errors"
"fmt"
"time"

"github.com/containerd/containerd/images"
"github.com/containerd/errdefs"
Expand Down Expand Up @@ -183,7 +182,6 @@ func (index *Index) Save(ctx context.Context, fullref string, onProgress func(fl

// General annotations
index.annotations[ocispec.AnnotationRefName] = ref.Context().String()
index.annotations[ocispec.AnnotationCreated] = time.Now().UTC().Format(time.RFC3339)
index.annotations[AnnotationKraftKitVersion] = version.Version()

// containerd compatibility annotations
Expand Down

0 comments on commit 472ba05

Please sign in to comment.