github.com/pf-qiu/concourse/v6@v6.7.3-0.20201207032516-1f455d73275f/topgun/pipelines/image-artifact.yml (about)

     1  ---
     2  resources:
     3    - name: a-docker-resource-with-bash
     4      type: registry-image
     5      source:
     6        repository: ubuntu
     7  
     8  jobs:
     9  - name: artifact-test-stream-in
    10    plan:
    11    - get: a-docker-resource-with-bash
    12    - task: artifact-dependent-task
    13      image: a-docker-resource-with-bash  # this should override images specified below
    14      tags: ["tagged"]
    15      config:
    16        platform: linux
    17        rootfs_uri: docker:///ignored     # this should be overriden
    18        image_resource:                   # this should also be overriden
    19          type: registry-image
    20          source: {repository: ignored}
    21        run:
    22            path: ls
    23            args: ["-a", "/root"]
    24  
    25  - name: artifact-test-found-locally
    26    plan:
    27    - get: a-docker-resource-with-bash
    28    - task: artifact-dependent-task
    29      image: a-docker-resource-with-bash  # this should override images specified below
    30      config:
    31        platform: linux
    32        rootfs_uri: docker:///ignored     # this should be overriden
    33        image_resource:                   # this should also be overriden
    34          type: registry-image
    35          source: {repository: ignored}
    36        run:
    37            path: ls
    38            args: ["-a", "/root"]