You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `repository` | String | Docker repository name (**required**) |
47
-
| `tags` | List | Tags that should be used for the image (see the [metadata-action][mda] for details) |
48
-
| `file` | String | Path and filename of the dockerfile to build from. (Default: `{context}/Dockerfile`) |
49
-
| `build-args` | String | List of arguments necessary for the Docker image to be built. |
50
-
| `target` | String | Sets the target stage to build |
51
-
| `cache-from` | String | Where cache should be fetched from ([more about GHA and container caching](https://www.kenmuse.com/blog/implementing-docker-layer-caching-in-github-actions/)) |
52
-
| `cache-to` | String | Where cache should be stored to ([more about GHA and container caching](https://www.kenmuse.com/blog/implementing-docker-layer-caching-in-github-actions/)) |
53
-
| `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 |
| `repository` | String | Docker repository name (**required**) |
47
+
| `tags` | List | Tags that should be used for the image (see the [metadata-action][mda] for details) |
48
+
| `file` | String | Path and filename of the dockerfile to build from. (Default: `{context}/Dockerfile`) |
49
+
| `build-args` | String | List of arguments necessary for the Docker image to be built. |
50
+
| `target` | String | Sets the target stage to build |
51
+
| `cache-from` | String | Where cache should be fetched from ([more about GHA and container caching](https://www.kenmuse.com/blog/implementing-docker-layer-caching-in-github-actions/)) |
52
+
| `cache-to` | String | Where cache should be stored to ([more about GHA and container caching](https://www.kenmuse.com/blog/implementing-docker-layer-caching-in-github-actions/)) |
53
+
| `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 |
54
+
| `secrets` | List | Secrets to [expose to the build](https://github.com/docker/build-push-action). Only needed when authenticating to private repositories outside the repository in which the image is being built. |
| `registry` | String | Google Artifact Registry to store docker images in. |
57
-
| `tags` | List | Tags that should be used for the image (see the [metadata-action][mda] for details) |
58
-
| `context` | List | Path to the Docker build context. |
59
-
| `environment` | Bool | Environment for pushing artifacts (can be either dev or prod). |
60
-
| `image_name` | String | Name of the image to be pushed to GAR. |
61
-
| `build-args` | String | List of arguments necessary for the Docker image to be built. |
62
-
| `push` | Boolean | Whether to push the image to the registry. |
63
-
| `file` | String | Path and filename of the dockerfile to build from. (Default: `{context}/Dockerfile`) |
64
-
| `platforms` | List | List of platforms the image should be built for (e.g. `linux/amd64,linux/arm64`) |
65
-
| `cache-from` | String | Where cache should be fetched from ([more about GHA and container caching](https://www.kenmuse.com/blog/implementing-docker-layer-caching-in-github-actions/)) |
66
-
| `cache-to` | String | Where cache should be stored to ([more about GHA and container caching](https://www.kenmuse.com/blog/implementing-docker-layer-caching-in-github-actions/)) |
67
-
| `ssh` | List | List of SSH agent socket or keys to expose to the build ([more about ssh for docker/build-push-action](https://github.com/docker/build-push-action?tab=readme-ov-file#inputs)) |
68
-
| `build-contexts` | List | List of additional [build contexts](https://github.com/docker/build-push-action?tab=readme-ov-file#inputs) (e.g., `name=path`) |
69
-
| `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 |
70
-
| `repository_name` | String | Override the 'repo_name' which is included as part of the GAR repository name. Only necessary when the GAR includes a repo name that doesn't match the GitHub repo name. |
71
-
| `labels` | List | List of custom labels to add to the image as metadata (see the [metadata-action](https://github.com/docker/metadata-action?tab=readme-ov-file#inputs)) for details |
72
-
| `target` | String | Name of the [build stage](https://docs.docker.com/build/building/multi-stage/) to target. |
73
-
| `delete_credentials_file` | Boolean | Delete the credentials file after the action is finished. If you want to keep the credentials file for a later step, set this to false. (Default: `true`) |
| `registry` | String | Google Artifact Registry to store docker images in. |
57
+
| `tags` | List | Tags that should be used for the image (see the [metadata-action][mda] for details) |
58
+
| `context` | List | Path to the Docker build context. |
59
+
| `environment` | Bool | Environment for pushing artifacts (can be either dev or prod). |
60
+
| `image_name` | String | Name of the image to be pushed to GAR. |
61
+
| `build-args` | String | List of arguments necessary for the Docker image to be built. |
62
+
| `push` | Boolean | Whether to push the image to the registry. |
63
+
| `file` | String | Path and filename of the dockerfile to build from. (Default: `{context}/Dockerfile`) |
64
+
| `platforms` | List | List of platforms the image should be built for (e.g. `linux/amd64,linux/arm64`) |
65
+
| `cache-from` | String | Where cache should be fetched from ([more about GHA and container caching](https://www.kenmuse.com/blog/implementing-docker-layer-caching-in-github-actions/)) |
66
+
| `cache-to` | String | Where cache should be stored to ([more about GHA and container caching](https://www.kenmuse.com/blog/implementing-docker-layer-caching-in-github-actions/)) |
67
+
| `ssh` | List | List of SSH agent socket or keys to expose to the build ([more about ssh for docker/build-push-action](https://github.com/docker/build-push-action?tab=readme-ov-file#inputs)) |
68
+
| `build-contexts` | List | List of additional [build contexts](https://github.com/docker/build-push-action?tab=readme-ov-file#inputs) (e.g., `name=path`) |
69
+
| `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 |
70
+
| `repository_name` | String | Override the 'repo_name' which is included as part of the GAR repository name. Only necessary when the GAR includes a repo name that doesn't match the GitHub repo name. |
71
+
| `labels` | List | List of custom labels to add to the image as metadata (see the [metadata-action](https://github.com/docker/metadata-action?tab=readme-ov-file#inputs)) for details |
72
+
| `target` | String | Name of the [build stage](https://docs.docker.com/build/building/multi-stage/) to target. |
73
+
| `delete_credentials_file` | Boolean | Delete the credentials file after the action is finished. If you want to keep the credentials file for a later step, set this to false. (Default: `true`) |
74
+
| `secrets` | List | Secrets to [expose to the build](https://github.com/docker/build-push-action). Only needed when authenticating to private repositories outside the repository in which the image is being built. |
0 commit comments