I am using a custom image to build my pipelines with, but want to parameterize it.
image:
name: some-docker.jfrog.io/full/path/version:latest
username: $ARTIFACTORY_USER
password: $ARTIFACTORY_PASSWORD
I would like to use $ARTIFACTORY_NAME instead of some-docker.jfrog.io/full/path/version:latest
Is that supported?
How to I accomplish that?
I have tried:
image:
name: some-docker.jfrog.io/full/$ARTIFACTORY_NAME
username: $ARTIFACTORY_USER
password: $ARTIFACTORY_PASSWORD
Where $ARTIFACTORY_NAME is path/version:latest
image:
name: some-docker.jfrog.io/full/path/version:latest
username: $ARTIFACTORY_USER
password: $ARTIFACTORY_PASSWORD
Where $ARTIFACTORY_NAME is some-docker.jfrog.io/full/path/version:latest
Both approaches fail the pipeline and it crashes.