Skip to content

addnab/docker-run-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

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Run Action

This action targets a very specific use-case that is not currently supported by Github Workflows. This action gives you the capability to run built containers.

Docker already supports running commands inside a docker image. See jobs.<jobs_id>.container. But it doesn't give you a clean way to run an image from a private repo or an image built on a previous step.

Example Usage

Standard use-case

- uses: addnab/docker-run-action@v1
  with:
    image: docker:latest
    command: echo "hello world"

Supported Inputs

  image:
    description: 'Image'
    required: true
  options:
    description: 'Options'
    required: false
  command:
    description: 'Command'
    required: false
  args:
    description: 'Args'
    required: false
  registry:
    description: 'Registry'
    required: false
  username:
    description: 'Username'
    required: false
  password:
    description: 'Password'
    required: false

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published