Skip to content

PaulLesur/wait-docker-image-github-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wait-docker-image-github-action

A simple Github Action waiting for a Docker image.

Inputs

Required

image

String The name of the image to wait for.

Optional

tag

String Optional tag for the image, default: latest

timeout

Integer Timeout in seconds, default: 3600

fail-on-timeout

Boolean Wether to fail the job or not if the timeout is over, default: true

user

String Registry user to use.

password

String Registry password to use.

Example usage

Example usage to wait for ubuntu:18.04 image to be available, if the image is not available after 1 minute, the job does not fail and continues.

uses: PaulLesur/wait-docker-image-github-action@v1.0
with:
    image: ubuntu
    tag: 18.04
    timeout: 60
    fail-on-timeout: false

About

A simple Github Action waiting for a Docker image.

Resources

License

Stars

Watchers

Forks

Packages

No packages published