Action to retrieve required metadata to build Docker image
- uses: hoverkraft-tech/ci-github-container@0.20.2
with:
# Description: OCI registry where to pull and push images
#
# Default: ghcr.io
oci-registry: ""
# Description: Repository name. Example: 'my-org/my-repo'. See
# [Docker get-image-name action](/ci-github-container/actions/docker/get-image-name/)
#
# Default: $
repository: ""
# Description: Additional image name. Example: 'application'. See
# [Docker get-image-name action](/ci-github-container/actions/docker/get-image-name/)
#
image: ""
# Description: Force image tag to publish
#
tag: ""
Input | Description | Default | Required |
---|---|---|---|
oci-registry |
OCI registry where to pull and push images | ghcr.io |
true |
repository |
Repository name. Example: ‘my-org/my-repo’. See Docker get-image-name action | $ |
false |
image |
Additional image name. Example: ‘application’. See Docker get-image-name action | false | |
tag |
Force image tag to publish | false |
Output | Description |
---|---|
image |
Forged image name containing registry. Example: “ghcr.io/my-org/my-repo/application” |
labels |
The image labels. |
annotations |
The image annotations. |
tags |
The image tags. Example: “pr-63-5222075\npr-63” |