Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

thinkverse/write-docker-actions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

19 Commits

Repository files navigation

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.

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /