chorrell/write-docker-actions

Last minute notes

github-learning-lab opened this issue ยท 2 comments

Great job!

You did it ๐ŸŽ‰

You have successfully written three different Docker actions.

Let's take a quick look at all the things you learned in this course:

Workflows
Along the way you learned a little about workflows and how to configure them. You managed to accomplish all these things:

  • Define two different event triggers
  • Filter an event trigger to run only when a label is added to a pull request
  • You configured one unique job containing three unique steps within a workflow
  • You learned how to overwrite default action values by defining them in a workflow
  • One of your steps consumed a secret
  • One of your steps consumed the output of a previous step

That's quite a bit for a course that doesn't cover workflows!

Action metadata

  • You became familiar with over 1/2 of the syntax keywords that can be used in an action.yml file
  • Using inputs: and outputs: allowed you to create more dynamic and reusable metadata files for your actions.
  • You've mow written the metadata for three different actions

Docker actions
Wow, what a series of tasks! You started with the traditional hello world in the console, which was then expanded to use the input: parameters specified in the actions metadata. Through the use of that metadata you were able to be flexible with your greeting.

You learned how GitHub Actions behave when consuming external APIs and you also used the response from an external API as an output: parameter for a later step in the workflow.

Lastly you saw how to use actions to interact with a repository by creating an issue containing a joke.

You used multiple languages to write your action source code.

At this point you are armed with everything you need to know to go out there and begin creating your own custom Docker actions.

We aren't done yet ๐Ÿ˜‰

I also want to take a few minutes to point you to the information you need to place your own custom actions on the GitHub Marketplace for others to use.

Publishing your actions

Publishing your actions is a great way to help others in your team and across the GitHub community. Although actions do not need to be published to be consumed by adding them to the marketplace you make them easier to find.

Some notable actions you will find on the marketplace are:

And that just scratches the surface of the 2000+ and counting actions you will find on the marketplace ๐Ÿ˜„

๐Ÿ“–Follow this guide to learn how to publish your actions to the GitHub Marketplace

The End ๐Ÿ˜ญ

It was so fun having you as a student while taking this course. I'll forever cherish our time together chorrell

You can keep this repository forever to remember our time... I actually encourage you to do so! This has now become your central point for notes on writing Docker actions ๐Ÿ˜„

I really do think of everything!

Make sure to visit Learning Lab for more courses on GitHub Actions and other awesome tech content.

We would love to hear what you thought about this course, share your experience with us and others in the Community forum


To fully complete your course close this issue