Skip to content

Use docker-metadata action to extract container image labels (and tags?) instead of hardcode #397

Description

@nepalevov

Name and Version

all

What is the problem this feature will solve?

Currently, we have a set of container image labels hardcoded, so a workflow fork must be created if different values are needed

  maintainer=AI DIAL
  org.opencontainers.image.title=${{ inputs.image-name }}
  org.opencontainers.image.version=${{ inputs.image-tag }}
  org.opencontainers.image.description=${{ inputs.image-name }}
  org.opencontainers.image.created=${{ github.event.repository.pushed_at }}
  org.opencontainers.image.licenses=Apache-2.0
  org.opencontainers.image.revision=${{ github.sha }}
  org.opencontainers.image.source=${{ github.server_url }}/${{ github.repository }}
  org.opencontainers.image.url=${{ github.server_url }}/${{ github.repository }}

What is the feature you are proposing to solve the problem?

Evaluate https://github.com/docker/metadata-action usage to fetch non-constrained labels (and tags?)

What alternatives have you considered?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions