1

I have this section in my bitbucket-pipelines.yml

 image: name: eu.gcr.io/$GCLOUD_PROJECT/some-name-here username: _json_key password: '$GCLOUD_API_KEYFILE' 

It fails because the image name contains a variable, is there a workaround for that or must the image name be hardcoded in the bitbucket-pipelines.yml ?

1 Answer 1

5

You cannot use variables in the Docker image names.

There is an open Jira issue with this feature request created back in 2016, and at the time of writing it's still 'gathering interest'.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.