Skip to content

Reusable GitHub actions/ workflows for GitHub Container Registry stuff

Notifications You must be signed in to change notification settings

cron-mon-io/ghcr-actions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

ghcr-actions

Reusable GitHub actions for GitHub Container Registry stuff within Cron Mon.

build-and-push

Builds a Docker image and pushes it to ghcr.io.

jobs:
...
  build_and_push:
    name: Build image and push to ghcr.io
    # These permissions are required for this workflow.
    permissions:
      contents: read
      packages: write
      attestations: write
      id-token: write
    uses: cron-mon-io/ghcr-actions/.github/workflows/build-and-push.yml@main

retag

Retags an existing image in ghcr.io with a given tag.

on:
  release:
    types: [ published ]

jobs:
  retag:
    name: Retag container image
    # These permissions are required for this workflow.
    permissions:
      contents: read
      packages: write
      attestations: write
      id-token: write
    uses: cron-mon-io/ghcr-actions/.github/workflows/retag.yml@main
    with:
      tag: ${{ github.event.release.tag_name }}

About

Reusable GitHub actions/ workflows for GitHub Container Registry stuff

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published