Skip to content

Latest commit

 

History

History
120 lines (75 loc) · 6.13 KB

File metadata and controls

120 lines (75 loc) · 6.13 KB

Icon GitHub Action: Get image name

Get image name

Marketplace Release License Stars PRs Welcome GitHub Verified Creator

Overview

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

Usage

- uses: hoverkraft-tech/ci-github-container/actions/docker/get-image-name@c9088e8447c5a8be45157e17701023fc50ccb1c0 # 0.37.2
  with:
    # OCI registry to prefix the image full name
    oci-registry: ""

    # Repository name
    # Default: `${{ github.repository }}`
    repository: ${{ github.repository }}

    # Additional image name
    image: ""

Inputs

Input Description Required Default
oci-registry OCI registry to prefix the image full name false -
repository Repository name false ${{ github.repository }}
image Additional image name false -

Outputs

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

Contributing

Contributions are welcome! Please see the contributing guidelines for more details.

License

This project is licensed under the MIT License.

SPDX-License-Identifier: MIT

Copyright © 2026 hoverkraft

For more details, see the license.


This documentation was automatically generated by CI Dokumentor.