Skip to content

a github action that will block until a container image is available

License

Notifications You must be signed in to change notification settings

replayio/action-wait-for-ghcr-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

replayio/action-wait-for-ghcr-image

Poll ghcr.io for a container image to be available, and optional pull the container image for use by later steps in a workflow.

Usage

- uses: replayio/action-wait-for-ghcr-image@latest
  with:
    github-token: ${{ secrets.GITHUB_TOKEN }}
    github-username: ${{ secrets.GITHUB_ACTOR }}
    image-name: replayio/image-name:latest

Arguments

Required Name Description Default
github-token GitHub personal access token for accessing ghcr.
github-username Owner of github-token
image-name The container image name to wait for and optionally pull.
  timeout The total amount of time (in minutes) alloted to both waiting and pulling 15
  sleep-time The amount of time (in seconds) to sleep between attempts 30
  cache-image When true, the image will be pulled and cached for later use in the calling workflow false

About

a github action that will block until a container image is available

Resources

License

Stars

Watchers

Forks

Packages

No packages published