Fetch an imageID sha256 reference ?

Hi,

When gitlab-runner starts the docker-executor, it prints the imageID, of the image fetched and used in gitlab-ci.
Now if the build breaks, and I want to execute the tests/builds manually, how would I fetch that exact version when detected, and
continue with manual debugging ?
The image I’m pulling is a multi-architecture manifest, and I’m getting an architecture specific digest sha256.

$ docker manifest inspect myserver.se/ubuntu_19.04/master:latest
{
“schemaVersion”: 2,
“mediaType”: “application/vnd.docker.distribution.manifest.list.v2+json”,
“manifests”: [
{
“mediaType”: “application/vnd.docker.distribution.manifest.v2+json”,
“size”: 1785,
“digest”: “sha256:0f4f4503c64a9eb8ef6ad5c959970347b7cb0bef1b8516b2535630624a9e7d8e”,
“platform”: {
“architecture”: “amd64”,
“os”: “linux”
}
},
{
“mediaType”: “application/vnd.docker.distribution.manifest.v2+json”,
“size”: 1785,
“digest”: “sha256:ad6aa1902350d3c0e3ea58ec2a623b140bb47e445ec6d97325b8fd89c52c7a2b”,
“platform”: {
“architecture”: “arm64”,
“os”: “linux”,
“variant”: “v8”
}
}
]
}

$ docker inspect myserver.se/ubuntu_19.04/master:latest
[
{
“Id”: “sha256:3f17131484400093a8036dc3fe5ab598f98f19a9272d51d83ccf535ab3756962”,
“RepoTags”: [
myserver.se/ubuntu_19.04/master:latest
],
“RepoDigests”: [
myserver.se/ubuntu_19.04/master@sha256:61dbe9b9e1ebe7cb982f45dd2cc855c13abca6c73c50dec6054621e97154d303
],

Gitlab printout:
Using docker image sha256:3f17131484400093a8036dc3fe5ab598f98f19a9272d51d83ccf535ab3756962 for myserver.se/ubuntu_19.04/master:latest

Attempts to recreate build environment fails miserably, as below.
$ docker run -it myserver.se/ubuntu_19.04/master@sha256:3f17131484400093a8036dc3fe5ab598f98f19a9272d51d83ccf535ab3756962

I’m assuming here that the ImageID sha256 is immutable as well as the architecture specific image digest.
Is there any way to search for corresponding to the remote imageID sha256.
How can I pull the exact version ?

Best Regards,
David