mirror of https://github.com/knative/docs.git
upgrade to latest dependencies (#5536)
bumping knative.dev/hack 359d585...f591fea:%0A > f591fea individual globbing is required (# 284)%0A > 4b3f230 Update community files (# 283)%0A > 9153cc6 Update community files (# 282) Signed-off-by: Knative Automation <automation@knative.team>
This commit is contained in:
parent
064d14ff2e
commit
b426dd46f3
2
go.mod
2
go.mod
|
@ -14,7 +14,7 @@ require (
|
|||
google.golang.org/grpc v1.36.0
|
||||
gopkg.in/go-playground/webhooks.v3 v3.13.0
|
||||
gopkg.in/yaml.v2 v2.3.0
|
||||
knative.dev/hack v0.0.0-20230410142639-359d58534ae2
|
||||
knative.dev/hack v0.0.0-20230417170854-f591fea109b3
|
||||
)
|
||||
|
||||
require (
|
||||
|
|
4
go.sum
4
go.sum
|
@ -539,8 +539,8 @@ honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9
|
|||
honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
|
||||
honnef.co/go/tools v0.0.1-2020.1.5 h1:nI5egYTGJakVyOryqLs1cQO5dO0ksin5XXs2pspk75k=
|
||||
honnef.co/go/tools v0.0.1-2020.1.5/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
|
||||
knative.dev/hack v0.0.0-20230410142639-359d58534ae2 h1:d93HFlQO+xMbBqNYb50cGTc/o3C1BPgff0F6mx4Gog4=
|
||||
knative.dev/hack v0.0.0-20230410142639-359d58534ae2/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q=
|
||||
knative.dev/hack v0.0.0-20230417170854-f591fea109b3 h1:+W4WBOq83tfGXKhtv8OB/uJeYqze3zh69GKiz1ucuqk=
|
||||
knative.dev/hack v0.0.0-20230417170854-f591fea109b3/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q=
|
||||
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
|
||||
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
|
||||
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
|
||||
|
|
|
@ -51,6 +51,7 @@ function tag_images_in_yamls() {
|
|||
local DOCKER_BASE="${KO_DOCKER_REPO}/${REPO_ROOT_DIR/$SRC_DIR}"
|
||||
local GEO_REGIONS="${GEO_REPLICATION[@]} "
|
||||
echo "Tagging any images under '${DOCKER_BASE}' with ${TAG}"
|
||||
# shellcheck disable=SC2068
|
||||
for file in $@; do
|
||||
[[ "${file##*.}" != "yaml" ]] && continue
|
||||
echo "Inspecting ${file}"
|
||||
|
@ -316,7 +317,8 @@ function build_from_source() {
|
|||
function get_images_in_yamls() {
|
||||
rm -rf "$IMAGES_REFS_FILE"
|
||||
echo "Assembling a list of image refences to sign"
|
||||
for file in "$@"; do
|
||||
# shellcheck disable=SC2068
|
||||
for file in $@; do
|
||||
[[ "${file##*.}" != "yaml" ]] && continue
|
||||
echo "Inspecting ${file}"
|
||||
while read -r image; do
|
||||
|
@ -407,10 +409,11 @@ function sign_release() {
|
|||
if [[ -f "$IMAGES_REFS_FILE" ]]; then
|
||||
COSIGN_EXPERIMENTAL=1 cosign sign $(cat "$IMAGES_REFS_FILE") \
|
||||
--recursive --identity-token="${ID_TOKEN}"
|
||||
cp "${IMAGES_REFS_FILE}" "${ARTIFACTS}"
|
||||
if [ -n "${ATTEST_IMAGES:-}" ]; then # Temporary Feature Gate
|
||||
provenance-generator --clone-log=/logs/clone.json \
|
||||
--image-refs="$IMAGES_REFS_FILE" --output=attestation.json
|
||||
mkdir -p "${ARTIFACTS}"/attestation && cp attestation.json "${ARTIFACTS}"/attestation
|
||||
mkdir -p "${ARTIFACTS}" && cp attestation.json "${ARTIFACTS}"
|
||||
COSIGN_EXPERIMENTAL=1 cosign attest $(cat "$IMAGES_REFS_FILE") \
|
||||
--recursive --identity-token="${ID_TOKEN}" \
|
||||
--predicate=attestation.json --type=slsaprovenance
|
||||
|
|
|
@ -300,7 +300,7 @@ gopkg.in/go-playground/webhooks.v3/github
|
|||
gopkg.in/yaml.v2
|
||||
# honnef.co/go/tools v0.0.1-2020.1.5
|
||||
## explicit; go 1.11
|
||||
# knative.dev/hack v0.0.0-20230410142639-359d58534ae2
|
||||
# knative.dev/hack v0.0.0-20230417170854-f591fea109b3
|
||||
## explicit; go 1.18
|
||||
knative.dev/hack
|
||||
# go.opencensus.io => go.opencensus.io v0.20.2
|
||||
|
|
Loading…
Reference in New Issue