From 33ab12698041bdec761de8ce26c64d9d01d5e1df Mon Sep 17 00:00:00 2001 From: Dominik Meyer Date: Thu, 4 Feb 2021 14:31:33 +0100 Subject: [PATCH 1/2] Update metadata-syntax-for-github-actions.md I tried to use another name than Dockerfile, the build fails saying: `docker: invalid reference format: repository name must be lowercase.` --- .../creating-actions/metadata-syntax-for-github-actions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/actions/creating-actions/metadata-syntax-for-github-actions.md b/content/actions/creating-actions/metadata-syntax-for-github-actions.md index 4dfb33bcf807..9b73031bf5cc 100644 --- a/content/actions/creating-actions/metadata-syntax-for-github-actions.md +++ b/content/actions/creating-actions/metadata-syntax-for-github-actions.md @@ -297,7 +297,7 @@ runs: #### `runs.image` -**Required** The Docker image to use as the container to run the action. The value can be the Docker base image name, a local `Dockerfile` in your repository, or a public image in Docker Hub or another registry. To reference a `Dockerfile` local to your repository, use a path relative to your action metadata file. The `docker` application will execute this file. +**Required** The Docker image to use as the container to run the action. The value can be the Docker base image name, a local `Dockerfile` in your repository, or a public image in Docker Hub or another registry. To reference a `Dockerfile` (the filename must be `Dockerfile`) local to your repository, use a path relative to your action metadata file. The `docker` application will execute this file. #### `runs.env` From 61e4785285b8c98a337e00f3d62754c11ad51a80 Mon Sep 17 00:00:00 2001 From: Dominik Meyer Date: Thu, 4 Mar 2021 07:34:16 +0100 Subject: [PATCH 2/2] Update content/actions/creating-actions/metadata-syntax-for-github-actions.md Thanks, I struggled to find the correct words and not change the text too much Co-authored-by: hubwriter --- .../creating-actions/metadata-syntax-for-github-actions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/actions/creating-actions/metadata-syntax-for-github-actions.md b/content/actions/creating-actions/metadata-syntax-for-github-actions.md index 9b73031bf5cc..5b17b5a17361 100644 --- a/content/actions/creating-actions/metadata-syntax-for-github-actions.md +++ b/content/actions/creating-actions/metadata-syntax-for-github-actions.md @@ -297,7 +297,7 @@ runs: #### `runs.image` -**Required** The Docker image to use as the container to run the action. The value can be the Docker base image name, a local `Dockerfile` in your repository, or a public image in Docker Hub or another registry. To reference a `Dockerfile` (the filename must be `Dockerfile`) local to your repository, use a path relative to your action metadata file. The `docker` application will execute this file. +**Required** The Docker image to use as the container to run the action. The value can be the Docker base image name, a local `Dockerfile` in your repository, or a public image in Docker Hub or another registry. To reference a `Dockerfile` local to your repository, the file must be named `Dockerfile` and you must use a path relative to your action metadata file. The `docker` application will execute this file. #### `runs.env`