1
0
mirror of synced 2025-12-25 02:17:36 -05:00

Update variables usage for Proxima in Tools and Automations docs (#52219)

Co-authored-by: Isaac Brown <101839405+isaacmbrown@users.noreply.github.com>
This commit is contained in:
Joe Clark
2024-09-18 08:57:11 -07:00
committed by GitHub
parent 224e2bdcb5
commit 624cc1b8cd
91 changed files with 124 additions and 120 deletions

View File

@@ -1,6 +1,6 @@
---
title: Connecting a repository to a package
intro: 'You can connect a repository to a package on {% data variables.location.product_location %}.'
intro: 'You can connect a repository to a package on {% data variables.product.github %}.'
product: '{% data reusables.gated-features.packages %}'
redirect_from:
- /packages/managing-container-images-with-github-container-registry/connecting-a-repository-to-a-container-image
@@ -40,7 +40,7 @@ When you publish a package that is scoped to a personal account or an organizati
LABEL org.opencontainers.image.source=https://{% ifversion fpt or ghec %}github.com{% else %}HOSTNAME{% endif %}/OWNER/REPO
```
For example, if you're the user `octocat` and own `my-repo`{% ifversion ghes %}, and your {% data variables.location.product_location %} hostname is `github.companyname.com`,{% endif %} you would add this line to your Dockerfile:
For example, if you're the user `octocat` and own `my-repo`{% ifversion ghes %}, and your {% data variables.product.github %} hostname is `github.companyname.com`,{% endif %} you would add this line to your Dockerfile:
```shell
LABEL org.opencontainers.image.source=https://{% ifversion fpt or ghec %}github.com{% else %}{% data reusables.package_registry.container-registry-example-hostname %}{% endif %}/octocat/my-repo

View File

@@ -17,7 +17,7 @@ versions:
## About package installation
You can search on {% data variables.location.product_location %} to find packages in {% data variables.product.prodname_registry %} that you can install in your own project. For more information, see "[AUTOTITLE](/search-github/searching-on-github/searching-for-packages)."
You can search on {% data variables.product.github %} to find packages in {% data variables.product.prodname_registry %} that you can install in your own project. For more information, see "[AUTOTITLE](/search-github/searching-on-github/searching-for-packages)."
After you find a package, you can read the package's description and installation and usage instructions on the package page.

View File

@@ -1,6 +1,6 @@
---
title: Migrating to the Container registry from the Docker registry
intro: '{% ifversion docker-ghcr-enterprise-migration %}An enterprise owner can{% else %}{% data variables.product.company_short %} will{% endif %} migrate Docker images previously stored in the Docker registry on {% data variables.location.product_location %} to the {% data variables.product.prodname_container_registry %}.'
intro: '{% ifversion docker-ghcr-enterprise-migration %}An enterprise owner can{% else %}{% data variables.product.company_short %} will{% endif %} migrate Docker images previously stored in the Docker registry on {% data variables.product.github %} to the {% data variables.product.prodname_container_registry %}.'
product: '{% data reusables.gated-features.packages %}'
redirect_from:
- /packages/getting-started-with-github-container-registry/migrating-to-github-container-registry-for-docker-images

View File

@@ -123,7 +123,7 @@ If you specify a `RepositoryURL` in your project's _.csproj_ file, the published
### Publishing a package using a GitHub {% data variables.product.pat_generic %} as your API key
If you don't already have a {% data variables.product.pat_generic %} to use for your account on {% data variables.location.product_location %}, see "[AUTOTITLE](/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)."
If you don't already have a {% data variables.product.pat_generic %} to use for your account on {% data variables.product.github %}, see "[AUTOTITLE](/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)."
1. Create a new project. Replace `PROJECT_NAME` with the name you'd like to give the project.