Skip to content

Pause image 3.10.1 not available in staging, production #131257

Open
kubernetes/k8s.io
#8261
@ArkaSaha30

Description

@ArkaSaha30

What happened?

Pause image was bumped as a part of PR: #130102
But the build process of windows pause failed due to tag@digest: https://prow.k8s.io/view/gs/kubernetes-ci-logs/logs/post-kubernetes-push-image-pause/1889748429312102400
Dropping the digest should work as a stop-gap.

Ref conversation: https://kubernetes.slack.com/archives/CCK68P2Q2/p1742839354591189?thread_ts=1742832454.449449&cid=CCK68P2Q2

What did you expect to happen?

Pause image to get built and promoted as expected so that it can be updated in k/k src to use it.

How can we reproduce it (as minimally and precisely as possible)?

arkas1@arkas1-ubuntu-vm:~/kubernetes/build/pause$ docker buildx build --provenance=false --sbom=false --pull --output=type=registry --platform windows/amd64 \
        -t gcr.io/k8s-staging-kubernetes/pause:3.10.1-windows-amd64-1809 --build-arg BASE=mcr.microsoft.com/oss/kubernetes/windows-pause-image-base:v0.4.1@sha256:37cc10768383b55611d724a05eb18564cb5184c89b0c2faa7d4eff63475092df-windows-1809-amd64 --build-arg ARCH=amd64 -f Dockerfile_windows .
[+] Building 0.1s (1/1) FINISHED                                                                                                                                                            docker-container:k-release-multiarch
 => [internal] load build definition from Dockerfile_windows                                                                                                                                                                0.0s
 => => transferring dockerfile: 795B                                                                                                                                                                                        0.0s
 => WARN: InvalidDefaultArgInFrom: Default value for ARG ${BASE} results in empty or invalid base image name (line 16)                                                                                                      0.0s

 1 warning found (use docker --debug to expand):
 - InvalidDefaultArgInFrom: Default value for ARG ${BASE} results in empty or invalid base image name (line 16)
Dockerfile_windows:16
--------------------
  14 |     
  15 |     ARG BASE
  16 | >>> FROM ${BASE}
  17 |     ARG ARCH
  18 |     ADD bin/pause-windows-${ARCH}.exe /pause.exe
--------------------
ERROR: failed to solve: failed to parse stage name "mcr.microsoft.com/oss/kubernetes/windows-pause-image-base:v0.4.1@sha256:37cc10768383b55611d724a05eb18564cb5184c89b0c2faa7d4eff63475092df-windows-1809-amd64": invalid reference format

Anything else we need to know?

No response

Kubernetes version

Branches having the improper tag@digest :

  • master
  • release-1.33

Cloud provider

OS version

# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here

Install tools

Container runtime (CRI) and version (if applicable)

Related plugins (CNI, CSI, ...) and versions (if applicable)

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.sig/k8s-infraCategorizes an issue or PR as relevant to SIG K8s Infra.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions