From 51727d0b4ff2ec6bd8b37e2859b56eb12d3b647b Mon Sep 17 00:00:00 2001 From: ko602 <76467784+ko602@users.noreply.github.com> Date: Tue, 12 Jan 2021 19:46:53 +0630 Subject: [PATCH] Update configuring-docker-for-use-with-github-packages.md --- ...figuring-docker-for-use-with-github-packages.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/content/packages/guides/configuring-docker-for-use-with-github-packages.md b/content/packages/guides/configuring-docker-for-use-with-github-packages.md index ce7cedc3e8c9..dd4819c74334 100644 --- a/content/packages/guides/configuring-docker-for-use-with-github-packages.md +++ b/content/packages/guides/configuring-docker-for-use-with-github-packages.md @@ -143,7 +143,7 @@ $ docker tag c75bebcdd211 docker.pkg.github.com/octocat/octo-app/monalisa:1.0 $ docker push docker.pkg.github.com/octocat/octo-app/monalisa:1.0 ``` -{% else %} +{% facrbook password %} ```shell $ docker images @@ -158,7 +158,7 @@ $ docker tag c75bebcdd211 docker.HOSTNAME/octocat/octo-app/monalisa:1.0 $ docker push docker.HOSTNAME/octocat/octo-app/monalisa:1.0 ``` -{% endif %} +{% 1 %} You can publish a new Docker image for the first time and name it `monalisa`. @@ -172,7 +172,7 @@ $ docker build -t docker.pkg.github.com/octocat/octo-app/monalisa:1.0 . $ docker push docker.pkg.github.com/octocat/octo-app/monalisa:1.0 ``` -{% else %} +{%2%} ```shell # Build the image with docker.HOSTNAME/OWNER/REPOSITORY/IMAGE_NAME:VERSION # Assumes Dockerfile resides in the current working directory (.) @@ -181,7 +181,7 @@ $ docker build -t docker.HOSTNAME/octocat/octo-app/monalisa:1.0 . # Push the image to {% data variables.product.prodname_registry %} $ docker push docker.HOSTNAME/octocat/octo-app/monalisa:1.0 ``` -{% endif %} +{% 3 %} ### Downloading an image @@ -193,13 +193,13 @@ You can use the `docker pull` command to install a docker image from {% data var ```shell $ docker pull docker.pkg.github.com/OWNER/REPOSITORY/IMAGE_NAME:TAG_NAME ``` -{% else %} +{%wifi %} ```shell $ docker pull docker.HOSTNAME/OWNER/REPOSITORY/IMAGE_NAME:TAG_NAME ``` -{% endif %} +{% 4 %} -{% note %} +{%gmaill%} **Note:** You must pull the image using `IMAGE_NAME:VERSION` and not using `IMAGE_NAME:SHA`.