Custom images in steps

Using custom docker images in your steps

Jenkins X supports various types of Docker builder images, as long as the image is published in an accessible registry.

One example is to re-use Google’s fairly small cloud builder images to perform quick tasks:

         - image: gcr.io/cloud-builders/npm
           name: install-dependencies
           command: npm
           args: ['install']

Or you can use your own published images like this:

          - image: gcr.io/jenkinsxio/hugo-extended:0.60.1-3
            name: build-website
            command: hugo
            args:
            - -d
            - tmp-website
            - --enableGitInfo
            - --baseURL http://${APP_NAME}.jx-${REPO_OWNER}-${REPO_NAME}-pr-${PULL_NUMBER}.${DOMAIN}/

The main requirement is that the image is available, either with or without authentication.


Last modified September 21, 2020: release 0.0.1895 (3145738)