No description
This repository has been archived on 2024-10-30. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
2024-10-30 00:39:09 +01:00
ci Check upstream image every 6h. 2024-03-16 10:51:04 +01:00
src Fix invalid syntax for script. 2022-08-29 23:57:36 +02:00
Dockerfile Add check/in/out to image. 2022-08-29 18:37:37 +02:00
README.md docs: add deprecation notice. 2024-10-30 00:39:09 +01:00

concourse-oci-resource

DEPRECATED: this resource is no longer needed, the concourse build task in combination with the registry-image can build and push multiarch images now.

A resource type for oci image tarballs.

Source configuration

resource_types:
- name: oci-image
  type: registry-image
  source:
    repository: redxef/concourse-oci-resource
resources:
- name: my-image
  type: oci-image
  source:
    repository: redxef/concourse-oci-resource
    tag: latest
    username: ((registry.username))
    password: ((registry.password))
  • repository: Required. The URI of the image repository.
  • tag: Optional. Default latest. The tag of this image.
  • username: Optional. Username used to authenticate.
  • password: Optional. Password used to authenticate.

check

Check if there is a new version represented with the given source configuration.

in receive a OCI tarball

Creates the following files:

  • ./image.tar: The image tarball.
  • ./digest: A file containing the digest of the pulled image.
  • ./repository: The repository name (the same as the source configuration).

out push an image to a repository

Push the image to the repository and add tags.

Configuration

- put: my-image
  params:
    additional_tags: path/to/tags/file

Parameters

  • additional_tags: Optional. The path to a file containing more tags.

Example

See ci/pipeline.yml for an example usage. This pipeline builds this image, first with the "edge" tag and after the tests run successfully it tags the build as "latest".