Skip to content

Latest commit

 

History

History
34 lines (30 loc) · 970 Bytes

release-image.md

File metadata and controls

34 lines (30 loc) · 970 Bytes

Release Image Reusable Workflow

Inputs

- uses: github/ospo-reusable-workflows/.github/workflows/release.yml@main
  permissions:
    contents: read
    packages: write
    id-token: write
    attestations: write
  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
    # Flag to create an attestation
    create-attestation: true
  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