I want to deploy a serverless container that uses a Dockerfile that is based on a image in the Scaleway Docker registry.
The image that I want to deploy looks something like this:
FROM rg.nl-ams.scw.cloud/some/registry:tag
RUN something
COPY . .
This fails because the build command is not authenticated in the code, only the push command.
Code for build: https://github.com/scaleway/serverless-scaleway-functions/blob/master/deploy/lib/pushContainers.js#L40
Code for push: https://github.com/scaleway/serverless-scaleway-functions/blob/master/deploy/lib/pushContainers.js#L43