From cce9ac2d69ae26e99fd48ebfc982ca24755d340a Mon Sep 17 00:00:00 2001 From: Karsten Jeschkies Date: Mon, 17 Jun 2024 13:25:29 +0200 Subject: [PATCH 1/3] Fix metadata link. --- actions/push-to-gar-docker/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/push-to-gar-docker/README.md b/actions/push-to-gar-docker/README.md index 20ee52365..ddca9d671 100644 --- a/actions/push-to-gar-docker/README.md +++ b/actions/push-to-gar-docker/README.md @@ -37,7 +37,7 @@ jobs: | Name | Type | Description | | ---------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `registry` | String | Google Artifact Registry to store docker images in. | -| `tags` | List | Tags that should be used for the image (see the [metadata-action][mda] for details) | +| `tags` | List | Tags that should be used for the image (see the [metadata-action](https://github.com/docker/metadata-action?tab=readme-ov-file#tags-input) for details) | | `context` | List | Path to the Docker build context. | | `environment` | Bool | Environment for pushing artifacts (can be either dev or prod). | | `image_name` | String | Name of the image to be pushed to GAR. | From c7cf6ad7cb0cd736ad689091afcd9570139d5c64 Mon Sep 17 00:00:00 2001 From: Karsten Jeschkies Date: Tue, 18 Jun 2024 10:33:59 +0200 Subject: [PATCH 2/3] Use a reference --- actions/push-to-gar-docker/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/actions/push-to-gar-docker/README.md b/actions/push-to-gar-docker/README.md index ddca9d671..08c134478 100644 --- a/actions/push-to-gar-docker/README.md +++ b/actions/push-to-gar-docker/README.md @@ -37,7 +37,7 @@ jobs: | Name | Type | Description | | ---------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `registry` | String | Google Artifact Registry to store docker images in. | -| `tags` | List | Tags that should be used for the image (see the [metadata-action](https://github.com/docker/metadata-action?tab=readme-ov-file#tags-input) for details) | +| `tags` | List | Tags that should be used for the image (see the [metadata-action](mda) for details) | | `context` | List | Path to the Docker build context. | | `environment` | Bool | Environment for pushing artifacts (can be either dev or prod). | | `image_name` | String | Name of the image to be pushed to GAR. | @@ -51,6 +51,8 @@ jobs: | `build-contexts` | List | List of additional [build contexts](https://github.com/docker/build-push-action?tab=readme-ov-file#inputs) (e.g., `name=path`) | | `docker-buildx-driver` | String | The [driver](https://github.com/docker/setup-buildx-action/tree/v3/?tab=readme-ov-file#customizing) to use for Docker Buildx | +[mda]: https://github.com/docker/metadata-action?tab=readme-ov-file#tags-input + ## Outputs The following outputs are exposed from [`docker/metadata-action`](https://github.com/docker/metadata-action?tab=readme-ov-file#outputs) and [`docker/build-push-action`](https://github.com/docker/build-push-action?tab=readme-ov-file#outputs): From 50cca9ec5d7c7b42c230280869a22d9879a54e59 Mon Sep 17 00:00:00 2001 From: Karsten Jeschkies Date: Tue, 18 Jun 2024 10:34:24 +0200 Subject: [PATCH 3/3] Correct link --- actions/push-to-gar-docker/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/push-to-gar-docker/README.md b/actions/push-to-gar-docker/README.md index 08c134478..e3be95b0b 100644 --- a/actions/push-to-gar-docker/README.md +++ b/actions/push-to-gar-docker/README.md @@ -37,7 +37,7 @@ jobs: | Name | Type | Description | | ---------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `registry` | String | Google Artifact Registry to store docker images in. | -| `tags` | List | Tags that should be used for the image (see the [metadata-action](mda) for details) | +| `tags` | List | Tags that should be used for the image (see the [metadata-action][mda] for details) | | `context` | List | Path to the Docker build context. | | `environment` | Bool | Environment for pushing artifacts (can be either dev or prod). | | `image_name` | String | Name of the image to be pushed to GAR. |