Skip to content

Latest commit

 

History

History
64 lines (50 loc) · 3.24 KB

File metadata and controls

64 lines (50 loc) · 3.24 KB

branding<icon:tag color:gray-dark> GitHub Action: Get image name

Release%20by%20tagRelease%20by%20dateCommitOpen%20IssuesDownloads

Action to forge the name of a given image including registry, repository and given input image name

- uses: hoverkraft-tech/[email protected]
  with:
    # Description: OCI registry to prefix the image full name
    #
    oci-registry: ""

    # Description: Repository name
    #
    # Default: ${{ github.repository }}
    repository: ""

    # Description: Additional image name
    #
    image: ""
Input Description Default Required
oci-registry OCI registry to prefix the image full name false
repository Repository name ${{ github.repository }} false
image Additional image name false
Output Description
image-name Forged image name. Example: "my-org/my-repo/application"
image-name-with-registry Forged image name containing registry. Example: "ghcr.io/my-org/my-repo/application"