chore: rename to "template push" in docs (#3525)

This commit is contained in:
Ben Potter
2022-08-16 09:52:31 -05:00
committed by GitHub
parent 01dd35f1ba
commit 4b6a82f92a
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ func templatePlan() *cobra.Command {
return &cobra.Command{
Use: "plan <directory>",
Args: cobra.MinimumNArgs(1),
Short: "Plan a template update from the current directory",
Short: "Plan a template push from the current directory",
RunE: func(cmd *cobra.Command, args []string) error {
return nil
},
+1 -1
View File
@@ -62,7 +62,7 @@ You can edit the Terraform template as follows:
coder templates init
cd gcp-linux # modify this line as needed to access the template
vim main.tf
coder templates update gcp-linux # updates the template
coder templates push gcp-linux # updates the template
```
## Up Next
+1 -1
View File
@@ -297,7 +297,7 @@ practices:
We recommend source controlling your templates as you would other code.
CI is as simple as running `coder templates update` with the appropriate
CI is as simple as running `coder templates push` with the appropriate
credentials.
---
@@ -88,7 +88,7 @@ resource "docker_image" "coder_image" {
Update the template:
```sh
coder template update docker-image-builds
coder template push docker-image-builds
```
You can also remove images from the validation list. Workspaces using older template versions will continue using
@@ -136,7 +136,7 @@ resource "docker_image" "coder_image" {
Update the template:
```sh
coder template update docker-image-builds
coder template push docker-image-builds
```
Optional: Update workspaces to the latest template version
+2 -2
View File
@@ -1,6 +1,6 @@
---
name: Develop in Docker
description: Run workspaces on a Docker host using registry images
description: Run workspaces on a Docker host using registry images
tags: [local, docker]
---
@@ -37,7 +37,7 @@ variable "docker_image" {
Update the template:
```sh
coder template update docker
coder template push docker
```
You can also remove images from the validation list. Workspaces using older template versions will continue using