Closed misohu closed 2 months ago
Thank you for reporting us your feedback!
The internal ticket has been created: https://warthogs.atlassian.net/browse/KF-5866.
This message was autogenerated
The problem is that the preinstalled skopeo
in the runners image ubuntu-20.04
is too old compared to the version of Docker API preinstalled in the image.
Version of skopeo skopeo version 1.4.1
.
Version of Docker
In order to fix the problem we need to:
Downgrading the Docker version is more time consuming as this downgrade needs to happen on every job run. We went with the second option of upgrading skopeo. Because of this we will use the skopeo preinstalled with rockcraft
(this was also recommended solution by rockcraft team). Skopeo version in rockcraft skopeo version 1.14.2
.
I have spent some time debugging why the scopeo in rockcraft is not working. The skopeo in rockcraft is right now only available in the edge channel!!!!
Bug Description
CI fails to copy rock to Docker during skopeo executions.
I believe we are running the preinstalled versions for both skopeo and Docker client on the runners. The log bellow indicates that we need higher Docker api version in order to use skopeo (at least that version).
To Reproduce
Environment
action
canonical/charmed-kubeflow-workflows/.github/workflows/get-rocks-modified-and-build-scan-test-publish.yaml@main
onubuntu:22.04
Relevant Log Output
Additional Context
No response