You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Skaffold uses an external library to parse the app image. This library could not recognize google artifact registry and container registry images if both tag and digest are given.
Information
Skaffold version: v1.14
Steps to reproduce the behavior
run the following code, the parsing fails with error ”unsupported digest algorithm”.
package main
import (
"fmt""github.com/docker/distribution/reference"
)
funcmain() {
r, err:=reference.Parse("us-central1-docker.pkg.dev/yuwenma-gke-playground/app/app@sha256:06dd9251e79f06254ec0557945ddb2d7eac5ded1d1c37d4860a24e350a983c52")
iferr!=nil {
fmt.Printf("%v", err)
}
ifn, ok:=r.(reference.Named); ok {
fmt.Printf("Image %v\n", n)
}
ifn, ok:=r.(reference.Tagged); ok {
fmt.Printf("Tag %v\n", n)
}
ifn, ok:=r.(reference.Digested); ok {
fmt.Printf("Digest %v\n", n)
}
}
The text was updated successfully, but these errors were encountered:
Skaffold uses an external library to parse the app image. This library could not recognize google artifact registry and container registry images if both tag and digest are given.
Information
Steps to reproduce the behavior
run the following code, the parsing fails with error ”unsupported digest algorithm”.
The text was updated successfully, but these errors were encountered: