Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rob-derosa/write-docker-actions
https://github.com/rob-derosa/write-docker-actions
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rob-derosa/write-docker-actions
- Owner: rob-derosa
- License: mit
- Created: 2020-11-10T17:46:53.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-10T21:44:46.000Z (about 4 years ago)
- Last Synced: 2024-05-28T20:49:01.266Z (7 months ago)
- Homepage: https://lab.github.com/githubtraining/github-actions:-write-docker-container-actions
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Welcome to your course 🎉
### Getting started
In this repository we will be diving into the world of writing GitHub Actions! I will guide you through the process of writing a custom Docker based GitHub Actions.
You may be asking yourself, "is Docker the only way to create custom GitHub Actions?"
Currently, there are **two** supported ways to create your own GitHub Actions:
- [Docker container actions](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/about-actions#docker-container-actions)
- [JavaScript actions](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/about-actions#javascript-actions)As you can see we aren't necessarily limited to Docker even though it is the focal point for this course.
---
### Creating vs consuming actions
Although we are going to focus on creating and consuming a custom action, in this course we will also be consuming some actions that have been made public to us. Because your workflows will most likely do the same, I found it important to show you where to look for actions that already exist.
After all, for each time we need to reinvent the wheel for our specific use-case there are a handful of times when we are better off using a wheel that's already made!
- The [GitHub Actions Marketplace](https://github.com/marketplace?type=actions) is the primary place to find open-source actions that the community has written and released. Your action, should you choose to release it, could also reside here one day, ready to be consumed by the world!
- The [GitHub Actions Repository](https://github.com/actions) is where you can find actions that are written by GitHub. We will leverage an action named `[checkout](https://github.com/actions/checkout)` from this repository as we go through this course. I'll explain more about what it does when we use it!
- Your repositories may also contain **private actions** and they will most likely be located in the `.github/actions` directory in the root of your repository. **This is the convention we will be using as we learn how to create our own action.**---
### Using actions and Learning Lab
In other courses, you may have noticed that some behaviors take me longer to respond to than others. In this course, many of the behaviors we'll see demonstrated will be related to our GitHub Actions workflow. Those workflows sometimes take longer to complete, up to several minutes. Don't be concerned if I take a few minutes to respond, or if I respond too quickly. Sometimes, I'll let you know what the workflow will say before it finishes! Please wait for the workflows to finish before moving on to your next step.
If you aren't already familiar, it may be a good idea to go through the [Introduction to GitHub Learning Lab](https://lab.github.com/githubtraining/introduction-to-github).
---
**Please navigate to the open issue in this repository to get started!**