Open orfeas-k opened 9 months ago
Thank you for reporting us your feedback!
The internal ticket has been created: https://warthogs.atlassian.net/browse/KF-5129.
This message was autogenerated
We still need this after https://github.com/canonical/charmed-kubeflow-workflows/pull/36, since we 're doing the following in all WFs introduced there (scan-rock.yaml, sanity-test.yaml
, integration-test.yaml
, publish-rock.yaml
)
DOCKER_IMAGE=${{ inputs.rock-name }}:${{ inputs.rock-version }}
sudo skopeo --insecure-policy copy oci-archive:${{ inputs.rock-filename }} docker-daemon:$DOCKER_IMAGE
echo "image=$DOCKER_IMAGE" >> "$GITHUB_OUTPUT"
This could also be coupled with the download-artifact action and be a Download and export ROCK to Docker
action
What needs to get done
Create an action to copy ROCK to Docker. We could create a composite action (which is essentially just a workflow file).
Why it needs to get done
At the moment, these lines of code are copied-pasted over a lot of our workflows
In order to avoid copy-pasting and reuse this inside a workflow's step, we need to create an action for it.
(source)