Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

mbialon/concourse-docker-manifest-resource

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Concourse Docker Manifest Resource

Travis CI

Creates Docker manifests.

Source Configuration

  • repository: Required. The name of the repository, e.g. mbialon/concourse-docker-manifest-resource.

  • tag: The tag. Can be overwritten by the tag file.

  • username: The username to user when authentidcating.

  • password: The password to use when authentidcating.

Behavior

out: Push the manifest.

Create, annotate, and push the manifest. The resulting version is the manifest's digest.

Parameters

  • tag_file: manifest tag file

  • manifests: an array of:

    • arch: architecture

    • variant: optional architecture variant, e.g. arch: arm, variant: v7

    • os: operating system

    • tag_file: a tag file

    • digest_file: a tag file (alternate to tag_file, useful to reference a docker-image-resource digest file)

Example

resource_types:
- name: docker-manifest
  type: docker-image
  source:
    repository: mbialon/concourse-docker-manifest-resource

resources:
- name: image-manifest
  type: docker-manifest
  source:
    repository: mbialon/image
    username: ((docker.username))
    password: ((docker.password))

jobs:
- name: build manifest
  plan:
  - put: image-manifest
      params:
        tag_file: version/version
        manifests:
        - arch: amd64
          os: linux
          tag_file: build/tag

- name: build manifest from existing image
  plan:
  - get: some-image-amd64
  - get: some-image-arm64
  - put: image-manifest
      params:
        tag_file: version/version
        manifests:
        - arch: amd64
          os: linux
          digest_file: some-image-amd64/digest
        - arch: arm64
          os: linux
          digest_file: some-image-arm64/digest
        - arch: arm
          variant: v7
          os: linux
          digest_file: some-image-armhf/digest

About

Concourse Docker Manifest Resource

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published