Public Repository

Last pushed: 3 months ago
Short Description
This image adds the `dockerd_extra_args` source option to the original docker-image-resource.
Full Description
  • Pipeline example

    resource_types:
    - name: ya-docker-image
      type: docker-image
      # workaround on Docker: Concourse >= 3.1.0, see https://github.com/concourse/concourse/issues/1230
      #privileged: true
      source:
        repository: whitestar/docker-image-resource
    
    resources:
    - name: src-git
      type: git
      source:
        uri: https://github.com/somebody/some-image
        branch: master
    - name: docker-reg
      type: ya-docker-image
      source:
        repository: gitlab.io.example.com:5050/some-group/some-proj/some-image
        dockerd_extra_args: --bip=192.168.100.1/24 --fixed-cidr=192.168.100.0/24
        tag: 0.0.1  # default: latest
        username: {{docker-id}}
        password: {{docker-pw}}
        ca_certs:
          - domain: gitlab.io.example.com:5050
            cert: {{docker-reg-ca-cert}}
    
    jobs:
    - name: build-img
      plan:
      - get: src-git
        trigger: false
      - put: docker-reg
        params:
          build: src-git
          tag_as_latest: true  # default: false
    
  • Source repository

https://github.com/wdstar/docker-image-resource

Docker Pull Command
Owner
whitestar

Comments (0)