Skip to content

A GitHub Action to run a docker container with current workspace mapped and github actions env vars available.

License

Notifications You must be signed in to change notification settings

chick-fil-a/gha-docker-run

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ghs-docker-run

The chick-fil-a/gha-docker-run action is used to run a docker container from a private or public registry with the current workspace mapped and github actions env vars available. It also fixes permissions after it runs so that created files are owned by actions:actions.

Usage

This action can be run on any GitHub hosted runners or self-hosted runners as long as bash is available as a shell.

steps:
  - uses: chick-fil-a/gha-docker-run@v1
    with: 
      image: lambci/lambda:build-python3.8
      run: |
        touch testing123.txt
        ls -la

Inputs

Please see details in action.yaml

Contributing

Check out our contributing guidelines

License

Apache License 2.0

About

A GitHub Action to run a docker container with current workspace mapped and github actions env vars available.

Resources

License

Stars

Watchers

Forks

Packages

No packages published