Skip to content

build pipeline for custom docker image fails #286

@benjaminbluhm

Description

@benjaminbluhm

Hi,

Needless to say this repo is super helpful!

I am running into an issue when creating a container build pipeline via Azure DevOps as described in docs/custom_container.md.

For testing purposes, I did not modify the Dockerfile and I only changed the environment name in environment_setup/docker-image-pipeline.yml. When I run the pipeline, I get the following error:

##[error]invalid argument "***/mlops/my_env:amlsdk-$(amlsdkversion)" for "-t, --tag" flag: invalid reference format
##[error]See 'docker build --help'.
##[error]The process '/usr/bin/docker' failed with exit code 125

It seems to me that $(amlsdkversion) does not resolve as expected. Is there anything I am doing wrong here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    docdocumentation update neededquestionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions