Whenever Image
is used in a step, a set of environment variables is automatically made available that you can use in your step.
Environment Variable | Description |
---|---|
res_<resource_name>_name | Name of the resource |
res_<resource_name>_sourceRepository | The name of the repository in Artifactory |
res_<resource_name>_region | The AWS region identifier |
res_<resource_name>_imageName | The file path of the Docker image |
res_<resource_name>_imageTag | The version tag of the initial version of the Docker image |
res_<resource_name>_autoPull | Value of the autopull flag |