In this video, see how Dockerfile labels enhance the presentation of custom Actions in the visual editor.
- [Narrator] Our action is just about ready to be deployed, … but we can make it stand out a bit … by adding label directives to the Dockerfile. … Labels let us add metadata for our action … like the action's name, a description, … and the icon that users will see … in the visual workflow editor. … We can also add other details … like the repository where the action is stored, … any webpage the action is associated with, … and the maintainer's name and email address. … In a Dockerfile, labels start with the label directive … followed by a quoted key value pair … with the specific information for the label. … Since the labels for our name, description, and icons … are specific to using GitHub actions, … they're prefaced by com.github.actions. … Labels that are native to Dockerfiles … like maintainer, repository, and home page … don't require that preface. … You might be thinking … the values for name and description are pretty clear, … but what about icon and icon color? … GitHub uses Feather icons …
- Creating an action
- Creating a workflow
- Adding actions to a workflow
- Using an action from a repository
- Using environment variables
- Building custom actions
- Use cases for actions and workflows
Skill Level Beginner
1. Your first Action
2. Connecting Actions with Workflows
3. Using Actions
4. Building Custom Actions
5. Use Cases
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.