Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 807 Bytes

release-image.md

File metadata and controls

27 lines (23 loc) · 807 Bytes

Release Image Reusable Workflow

Inputs

- uses: github/ospo-reusable-workflows/.github/workflows/release.yml@main
  with:
    # Image name, usually owner/repository (github/ospo-reusable-workflows)
    image-name: ${{ github.repository }}
    # Full tag of the image, usually the version (v1.0.0)
    full-tag: v1.0.0
    # Short tag of the image, usually the major version (v1)
    short-tag: v1
  secrets:
    # The GitHub token to use
    github-token: ${{ secrets.GITHUB_TOKEN }}
    # Image repository url
    image-registry: ${{ secrets.IMAGE_REPOSITORY_URL }}
    # Image repository username
    image-registry-username: ${{ secrets.IMAGE_REPOSITORY_USERNAME }}
    # Image repository password
    image-registry-password: ${{ secrets.IMAGE_REPOSITORY_PASSWORD }}

Outputs

None