From 3a3620ed496c1116d5e4f84369efa28aebea8844 Mon Sep 17 00:00:00 2001
From: CrazyMax <crazy-max@users.noreply.github.com>
Date: Thu, 23 Feb 2023 17:16:49 +0100
Subject: [PATCH] docs: fix links

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
---
 README.md                                | 25 +++++++++++++++++++++++-
 docs/advanced/cache.md                   |  2 +-
 docs/advanced/copy-between-registries.md |  2 +-
 docs/advanced/dockerhub-desc.md          |  2 +-
 docs/advanced/export-docker.md           |  2 +-
 docs/advanced/local-registry.md          |  2 +-
 docs/advanced/multi-platform.md          |  2 +-
 docs/advanced/named-contexts.md          |  2 +-
 docs/advanced/push-multi-registries.md   |  2 +-
 docs/advanced/secrets.md                 |  2 +-
 docs/advanced/share-image-jobs.md        |  2 +-
 docs/advanced/tags-labels.md             |  2 +-
 docs/advanced/test-before-push.md        |  2 +-
 13 files changed, 36 insertions(+), 13 deletions(-)

diff --git a/README.md b/README.md
index 47a3b21..077a8e5 100644
--- a/README.md
+++ b/README.md
@@ -19,6 +19,18 @@ ___
   * [Git context](#git-context)
   * [Path context](#path-context)
 * [Examples](#examples)
+  * [Multi-platform image](https://docs.docker.com/build/ci/github-actions/multi-platform/)
+  * [Secrets](https://docs.docker.com/build/ci/github-actions/secrets/)
+  * [Push to multi-registries](https://docs.docker.com/build/ci/github-actions/push-multi-registries/)
+  * [Manage tags and labels](https://docs.docker.com/build/ci/github-actions/manage-tags-labels/)
+  * [Cache management](https://docs.docker.com/build/ci/github-actions/cache/)
+  * [Export to Docker](https://docs.docker.com/build/ci/github-actions/export-docker/)
+  * [Test before push](https://docs.docker.com/build/ci/github-actions/test-before-push/)
+  * [Local registry](https://docs.docker.com/build/ci/github-actions/local-registry/)
+  * [Share built image between jobs](https://docs.docker.com/build/ci/github-actions/share-image-jobs/)
+  * [Named contexts](https://docs.docker.com/build/ci/github-actions/named-contexts/)
+  * [Copy image between registries](https://docs.docker.com/build/ci/github-actions/copy-image-registries/)
+  * [Update Docker Hub repo description](https://docs.docker.com/build/ci/github-actions/update-dockerhub-desc/)
 * [Customizing](#customizing)
   * [inputs](#inputs)
   * [outputs](#outputs)
@@ -170,7 +182,18 @@ jobs:
 
 ## Examples
 
-See https://docs.docker.com/build/ci/github-actions/examples/.
+* [Multi-platform image](https://docs.docker.com/build/ci/github-actions/multi-platform/)
+* [Secrets](https://docs.docker.com/build/ci/github-actions/secrets/)
+* [Push to multi-registries](https://docs.docker.com/build/ci/github-actions/push-multi-registries/)
+* [Manage tags and labels](https://docs.docker.com/build/ci/github-actions/manage-tags-labels/)
+* [Cache management](https://docs.docker.com/build/ci/github-actions/cache/)
+* [Export to Docker](https://docs.docker.com/build/ci/github-actions/export-docker/)
+* [Test before push](https://docs.docker.com/build/ci/github-actions/test-before-push/)
+* [Local registry](https://docs.docker.com/build/ci/github-actions/local-registry/)
+* [Share built image between jobs](https://docs.docker.com/build/ci/github-actions/share-image-jobs/)
+* [Named contexts](https://docs.docker.com/build/ci/github-actions/named-contexts/)
+* [Copy image between registries](https://docs.docker.com/build/ci/github-actions/copy-image-registries/)
+* [Update Docker Hub repo description](https://docs.docker.com/build/ci/github-actions/update-dockerhub-desc/)
 
 ## Customizing
 
diff --git a/docs/advanced/cache.md b/docs/advanced/cache.md
index 060be66..e8f5ffa 100644
--- a/docs/advanced/cache.md
+++ b/docs/advanced/cache.md
@@ -1,3 +1,3 @@
 # Cache
 
-This page has moved to [Docker Docs website](https://docs.docker.com/build/ci/github-actions/examples/#cache)
+This page has moved to [Docker Docs website](https://docs.docker.com/build/ci/github-actions/cache/)
diff --git a/docs/advanced/copy-between-registries.md b/docs/advanced/copy-between-registries.md
index 84cb9f0..35542fb 100644
--- a/docs/advanced/copy-between-registries.md
+++ b/docs/advanced/copy-between-registries.md
@@ -1,3 +1,3 @@
 # Copy images between registries
 
-This page has moved to [Docker Docs website](https://docs.docker.com/build/ci/github-actions/examples/#copy-images-between-registries)
+This page has moved to [Docker Docs website](https://docs.docker.com/build/ci/github-actions/copy-image-registries/)
diff --git a/docs/advanced/dockerhub-desc.md b/docs/advanced/dockerhub-desc.md
index 57b57e9..53e6ac7 100644
--- a/docs/advanced/dockerhub-desc.md
+++ b/docs/advanced/dockerhub-desc.md
@@ -1,3 +1,3 @@
 # Update Docker Hub repo description
 
-This page has moved to [Docker Docs website](https://docs.docker.com/build/ci/github-actions/examples/#update-docker-hub-repository-description)
+This page has moved to [Docker Docs website](https://docs.docker.com/build/ci/github-actions/update-dockerhub-desc/)
diff --git a/docs/advanced/export-docker.md b/docs/advanced/export-docker.md
index b2274d3..83a19de 100644
--- a/docs/advanced/export-docker.md
+++ b/docs/advanced/export-docker.md
@@ -1,3 +1,3 @@
 # Export image to Docker
 
-This page has moved to [Docker Docs website](https://docs.docker.com/build/ci/github-actions/examples/#export-image-to-docker)
+This page has moved to [Docker Docs website](https://docs.docker.com/build/ci/github-actions/export-docker/)
diff --git a/docs/advanced/local-registry.md b/docs/advanced/local-registry.md
index d311610..2cbdc5e 100644
--- a/docs/advanced/local-registry.md
+++ b/docs/advanced/local-registry.md
@@ -1,3 +1,3 @@
 # Local registry
 
-This page has moved to [Docker Docs website](https://docs.docker.com/build/ci/github-actions/examples/#local-registry)
+This page has moved to [Docker Docs website](https://docs.docker.com/build/ci/github-actions/local-registry/)
diff --git a/docs/advanced/multi-platform.md b/docs/advanced/multi-platform.md
index 186073e..15a64a1 100644
--- a/docs/advanced/multi-platform.md
+++ b/docs/advanced/multi-platform.md
@@ -1,3 +1,3 @@
 # Multi-platform image
 
-This page has moved to [Docker Docs website](https://docs.docker.com/build/ci/github-actions/examples/#multi-platform-images)
+This page has moved to [Docker Docs website](https://docs.docker.com/build/ci/github-actions/multi-platform/)
diff --git a/docs/advanced/named-contexts.md b/docs/advanced/named-contexts.md
index de66308..e9cd919 100644
--- a/docs/advanced/named-contexts.md
+++ b/docs/advanced/named-contexts.md
@@ -1,3 +1,3 @@
 # Named contexts
 
-This page has moved to [Docker Docs website](https://docs.docker.com/build/ci/github-actions/examples/#named-contexts)
+This page has moved to [Docker Docs website](https://docs.docker.com/build/ci/github-actions/named-contexts/)
diff --git a/docs/advanced/push-multi-registries.md b/docs/advanced/push-multi-registries.md
index a8ee7d6..a69040c 100644
--- a/docs/advanced/push-multi-registries.md
+++ b/docs/advanced/push-multi-registries.md
@@ -1,3 +1,3 @@
 # Push to multi-registries
 
-This page has moved to [Docker Docs website](https://docs.docker.com/build/ci/github-actions/examples/#push-to-multi-registries)
+This page has moved to [Docker Docs website](https://docs.docker.com/build/ci/github-actions/push-multi-registries/)
diff --git a/docs/advanced/secrets.md b/docs/advanced/secrets.md
index 0cc464d..0eaf66e 100644
--- a/docs/advanced/secrets.md
+++ b/docs/advanced/secrets.md
@@ -1,3 +1,3 @@
 # Secrets
 
-This page has moved to [Docker Docs website](https://docs.docker.com/build/ci/github-actions/examples/#secrets)
+This page has moved to [Docker Docs website](https://docs.docker.com/build/ci/github-actions/secrets/)
diff --git a/docs/advanced/share-image-jobs.md b/docs/advanced/share-image-jobs.md
index cf1b6a1..b788060 100644
--- a/docs/advanced/share-image-jobs.md
+++ b/docs/advanced/share-image-jobs.md
@@ -1,3 +1,3 @@
 # Share built image between jobs
 
-This page has moved to [Docker Docs website](https://docs.docker.com/build/ci/github-actions/examples/#share-built-image-between-jobs)
+This page has moved to [Docker Docs website](https://docs.docker.com/build/ci/github-actions/share-image-jobs/)
diff --git a/docs/advanced/tags-labels.md b/docs/advanced/tags-labels.md
index c3993db..3fe927f 100644
--- a/docs/advanced/tags-labels.md
+++ b/docs/advanced/tags-labels.md
@@ -1,3 +1,3 @@
 # Handle tags and labels
 
-This page has moved to [Docker Docs website](https://docs.docker.com/build/ci/github-actions/examples/#manage-tags-and-labels)
+This page has moved to [Docker Docs website](https://docs.docker.com/build/ci/github-actions/manage-tags-labels/)
diff --git a/docs/advanced/test-before-push.md b/docs/advanced/test-before-push.md
index 6b3ac99..e3679fc 100644
--- a/docs/advanced/test-before-push.md
+++ b/docs/advanced/test-before-push.md
@@ -1,3 +1,3 @@
 # Test your image before pushing it
 
-This page has moved to [Docker Docs website](https://docs.docker.com/build/ci/github-actions/examples/#test-your-image-before-pushing-it)
+This page has moved to [Docker Docs website](https://docs.docker.com/build/ci/github-actions/test-before-push/)