Seems buildah isn't capable of finding the registry auth file in the expected path.
DEBU[0000] No credentials matching registry.redhat.io/openshift-serverless-1-tech-preview/logic-swf-builder-rhel8 found in /var/tmp/containers-user-0/containers/containers/auth.json
DEBU[0000] No credentials matching registry.redhat.io/openshift-serverless-1-tech-preview/logic-swf-builder-rhel8 found in /root/.config/containers/auth.json
DEBU[0000] No credentials matching registry.redhat.io/openshift-serverless-1-tech-preview/logic-swf-builder-rhel8 found in /root/.docker/config.json
DEBU[0000] No credentials matching registry.redhat.io/openshift-serverless-1-tech-preview/logic-swf-builder-rhel8 found in /root/.dockercfg
DEBU[0000] No credentials for registry.redhat.io/openshift-serverless-1-tech-preview/logic-swf-builder-rhel8 found
By specifying the path, this seems to work:
DEBU[0000] Found credentials for registry.redhat.io/openshift-serverless-1-tech-preview/logic-swf-builder-rhel8 in credential helper containers-auth.json in file /workspace/dockerconfig/.dockerconfigjson
Seems buildah isn't capable of finding the registry auth file in the expected path.
By specifying the path, this seems to work: