kubernetes-sigs/cluster-api

Latest staging images being published with the wrong pre-release tag

開放

#8,404 建立於 2023年3月28日

 (7 則留言) (0 個反應) (0 位負責人)Go (1,532 個分叉)auto 404
help wantedkind/bugpriority/important-longtermtriage/accepted

倉庫指標

星標
 (4,267 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

What steps did you take and what happened?

Staging images are published after each merge at CAPI with main tags and a hashed tag. The images can be seen at https://console.cloud.google.com/gcr/images/k8s-staging-cluster-api/global/cluster-api-controller

Currently the hashed tag has the form v20230328-v1.4.0-beta.2-131-g022c70b2b containing beta.2 instead of rc.1 which is the latest pre-release tag.

I believe this image is created from the post-submit job at https://github.com/kubernetes/test-infra/blob/e249292bf64b2f35526ca4c762cedd28b47f2ee0/config/jobs/image-pushing/k8s-staging-cluster-api.yaml#LL3C31-L3C31

What did you expect to happen?

Tag should contain containing rc.1 instead of beta2 which is the latest pre-release tag.

Cluster API version

rc.1

Kubernetes version

No response

Anything else you would like to add?

I think this is likely down to a regex or git tag command going wrong somwhere - but the versions I've tried so far appear to have worked.

Label(s) to be applied

/kind bug One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels.

貢獻者指南