Fossil + Concourse

pipeline.yml at tip
Login

File pipeline.yml from the latest check-in


resource_types:
  - name: fossil-resource
    type: docker-image
    source:
      repository: avalos/fossil-concourse-resource
      tag: latest

resources:
  - name: fossil
    type: fossil-resource
    source:
      url: https://fossil.avalos.me/fossil-concourse
      branch: deploy
  - name: fossil-concourse-image
    type: registry-image
    source:
      repository: avalos/fossil-concourse-resource
      username: ((registry_user))
      password: ((registry_pass))

jobs:
  - name: docker-build-and-publish
    serial: true
    plan:
      - get: fossil
        trigger: true
      - task: build
        privileged: true
        config:
          platform: linux
          image_resource:
            type: docker-image
            source:
              repository: vito/oci-build-task
          inputs:
            - name: fossil
              path: .
          outputs:
            - name: image
          run:
            path: build
      - put: fossil-concourse-image
        params: {image: image/image.tar}