-
This is question/issue from Polyaxon Slack that was resolved. I am posting it for visibility if someone stumbles on the same issue with answer down below. Given setup:
And Kaniko configuration:connections:
- name: docker-registry
kind: registry
description: "aws docker repository"
schema:
url: https://ID.dkr.ecr.SOME-REGION.amazonaws.com
secret:
name: aws-secret
mountPath: /root/.aws/
configMap:
name: docker-config
mountPath: /kaniko/.docker And polyaxonfile for the build:version: 1.1
kind: operation
name: build
params:
destination:
connection: docker-registry
value: polyaxon
runPatch:
init:
- dockerfile:
image: "tensorflow/tensorflow:2.0.1-py3"
run:
- 'pip3 install --no-cache-dir -U polyaxon["polyboard","polytune"]'
langEnv: 'en_US.UTF-8'
hubRef: kaniko Then raised error:
|
Beta Was this translation helpful? Give feedback.
Answered by
sathoune
Apr 23, 2021
Replies: 1 comment
-
Resolution:This was error on the ECR side. The repo |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sathoune
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Resolution:
This was error on the ECR side. The repo
SOME-NAME:SOME-TAG
was not existing inside docker registry. CreatingSOME-NAME
in ECR allowed successful build and push.