Skip to content

Commit

Permalink
docs: Update adding new container docs
Browse files Browse the repository at this point in the history
Fix errors in shell commands.
  • Loading branch information
evantill committed Mar 21, 2023
1 parent b958d0d commit 4b41c7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/adding-new-container.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -110,7 +110,7 @@ WORKDIR /app
# Define default entrypoint
ENTRYPOINT ["wget"]
CMD ["--verison"]
CMD ["--version"]
EOF
```

Expand Down

0 comments on commit 4b41c7c

Please sign in to comment.