Category: Docker, github, automation

by So anyone can integrate what has been developed and can quickly start using it.

An Action is an individual task that we can combine to create jobs and customize our GitHub Actions workflows.

This new Docker image can be found in .github/action/Dockerfile: The new entrypoint that we have added to this new Dockerfile, the only thing it will do is execute the command that is passed through the input parameter of the GitHub Action called command: As output, the entrypoint will return the result of the execution of the command received from the GitHub Action through the command parameter in the format required by GitHub.

This is an example of how GitHub Action can be integrated into a GitHub Actions workflow: In turn, we have created a GitHub Actions workflow that its only purpose is to verify that the Action works in each new commit made to the repo.

Related Articles