https://github.com/thinkverse/write-docker-actions
https://github.com/thinkverse/write-docker-actions
course docker github-actions github-lab learning-labs workflows
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thinkverse/write-docker-actions
- Owner: thinkverse
- License: mit
- Created: 2020-08-29T10:50:26.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-30T22:59:15.000Z (over 5 years ago)
- Last Synced: 2025-02-17T17:03:23.415Z (11 months ago)
- Topics: course, docker, github-actions, github-lab, learning-labs, workflows
- Language: JavaScript
- Homepage: https://lab.github.com/githubtraining/github-actions:-write-docker-container-actions
- Size: 22.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Welcome to write-docker-actions 🎉
This is the repo **I** used for the [GitHub Actions: Write Docker container actions] course on GitHub's [Learning Lab].
Where **I** learned to create Docker based GitHub Actions, all actions can be found under [.github/actions] folder.
## How the Actions work
###### The hello-world Action
The `hello-world` action takes two required users to greet and a third optional one, it uses `golang` to write out `Hello {user}`
###### The cat-facts Action
The `cat-facts` action uses `Python 3` to fetch cat facts from the [catfact] API, then returns and outputs a random fact for another action to use.
###### The issue-maker Action
The `issue-maker` action uses `node` and the [actions/toolkit] to accept a `title`, `fact` and a `token` to create a new issue with that title and fact.
## How to use the Actions
In this repository the Actions work on the `pull_request` event, specifically when a `pull_request` gets `labeled` with a `label`.
The workflow file can be found in the usual [.github/workflows] folder.
[gitHub actions: write docker container actions]: https://lab.github.com/githubtraining/github-actions:-write-docker-container-actions
[learning lab]: https://lab.github.com
[.github/actions]: https://github.com/thinkverse/write-docker-actions/tree/HEAD/.github/actions
[catfact]: https://catfact.ninja/
[actions/toolkit]: https://github.com/actions/toolkit
[.github/workflows]: https://github.com/thinkverse/write-docker-actions/tree/HEAD/.github/workflows