From 4b41c7cd0e7fe259f6884ab9b9580ff2f6b918b3 Mon Sep 17 00:00:00 2001 From: Eric Vantillard Date: Tue, 21 Mar 2023 13:19:07 +0100 Subject: [PATCH] docs: Update adding new container docs Fix errors in shell commands. --- docs/adding-new-container.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/adding-new-container.md b/docs/adding-new-container.md index 99fc0dd..dad9b04 100644 --- a/docs/adding-new-container.md +++ b/docs/adding-new-container.md @@ -39,7 +39,7 @@ Add the definition into the manifest file [release-please-config.json](./release Use the provided [Makefile template](.github/templates/Makefile.template) replacing the variable `$CONTAINER_IMAGE_NAME` ```shell -envsubst '$CONTAINER_IMAGE_NAME' < ../.github/scripts/Makefile.template >Makefile +envsubst '$CONTAINER_IMAGE_NAME' < ../.github/templates/Makefile.template >Makefile ``` ## Add a github workflow @@ -59,7 +59,7 @@ We will use `0.1.0` as our first version echo '0.1.0' > version.txt # create taf myrepo-0.1.0 -echo -e "${CONTAINER_NAME}-$(cat version.txt)" | xargs git tag +echo -e "$CONTAINER_NAME-$(cat version.txt)" | xargs git tag -a -m "new $CONTAINER_NAME container" ``` ## Let's create our container @@ -110,7 +110,7 @@ WORKDIR /app # Define default entrypoint ENTRYPOINT ["wget"] -CMD ["--verison"] +CMD ["--version"] EOF ```