Skip to content

Commit e3a9c16

Browse files
authored
Merge pull request #5 from githubpartners/leverage-actions-packages
Leverage GitHub Actions to publish to GitHub Packages
2 parents aae21c5 + 2b9e8a4 commit e3a9c16

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

github/github-actions-packages/includes/2b-publish-using-workflow.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,13 @@ The preceding workflow does a few things after a new release is created:
4848
1. Once the `build` job succeeds, the job named `publish-gpr` publishes the package.
4949
1. The workflow publishes the package to the `registry-url: https://npm.pkg.github.com/` using an access token for authentication.
5050

51+
Actions written in YAML can also reference other actions. This is in addition to using scripts. Being able to reference actions as well should help reduce duplication in your workflows. You can use setup-node action to cache dependencies for projects with monorepo and pnpm package manager. Additionally, you can now run Node.js projects faster on GitHub Actions by enabling dependency caching on the setup-node action. `setup-node` supports caching from both npm and yarn package managers.
52+
5153
## Use GitHub Container Registry to host and manage Docker container images
5254

53-
GitHub Packages support the use of containers, Kubernetes, and other cloud-native technologies to manage their entire application lifecycle including production operations, development, release, and deployment. GitHub Packages also offers a container registry designed to support the unique needs of container images. You can use GitHub Container Registry to seamlessly host and manage Docker container images in your GitHub organization or personal user account. GitHub Container Registry allows you to configure who can manage and access packages using fine-grained permissions.
55+
GitHub Packages support the use of containers, Kubernetes, and other cloud-native technologies to manage their entire application lifecycle including production operations, development, release, and deployment. GitHub Packages also offers a container registry designed to support the unique needs of container images. You can use GitHub Container Registry to seamlessly host and manage Docker container images in your GitHub organization or personal user account. GitHub Container Registry allows you to configure who can manage and access packages using fine-grained permissions. You can use images from public and private registries in job and service containers.
56+
57+
In GitHub Actions, job and service containers allow you to containerize your continuous integration environment and make databases, caches, or other services available to your tests.
5458

5559
With the container registry, you can:
5660

github/github-actions-packages/index.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ uid: learn.github.github-actions-packages
33
metadata:
44
title: Leverage GitHub Actions to publish to GitHub Packages
55
description: Publish automatically and secure your code libraries or Docker images with GitHub Packages.
6-
ms.date: 05/25/2022
6+
ms.date: 08/25/2022
77
author: a-a-ron
88
ms.author: aastewar
99
ms.topic: interactive-tutorial

0 commit comments

Comments
 (0)