Creates Docker manifests.
-
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.
Create, annotate, and push the manifest. The resulting version is the manifest's digest.
-
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 totag_file
, useful to reference adocker-image-resource
digest
file)
-
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