Skip to content

Commit

Permalink
docs: update repo env var (#3203)
Browse files Browse the repository at this point in the history
Signed-off-by: Rita Zhang <[email protected]>
  • Loading branch information
ritazh authored Jan 3, 2024
1 parent 5978ea8 commit 7cd4ba6
Show file tree
Hide file tree
Showing 10 changed files with 31 additions and 31 deletions.
4 changes: 2 additions & 2 deletions website/docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ Currently the most reliable way of installing Gatekeeper is to build and install
* Build and push Gatekeeper image:
```sh
export DESTINATION_GATEKEEPER_IMAGE=<add registry like "myregistry.docker.io/gatekeeper">
make docker-buildx REPOSITORY=$DESTINATION_GATEKEEPER_DOCKER_IMAGE OUTPUT_TYPE=type=registry
make docker-buildx REPOSITORY=$DESTINATION_GATEKEEPER_IMAGE OUTPUT_TYPE=type=registry
```

> If you want to use a local image, don't set OUTPUT_TYPE and it will default to `OUTPUT_TYPE=type=docker`.
* Finally, deploy:
```sh
make deploy REPOSITORY=$DESTINATION_GATEKEEPER_DOCKER_IMAGE
make deploy REPOSITORY=$DESTINATION_GATEKEEPER_IMAGE
```
### Deploying via Helm
Expand Down
8 changes: 4 additions & 4 deletions website/versioned_docs/version-v3.10.x/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,16 @@ Currently the most reliable way of installing Gatekeeper is to build and install
* `cd` to the repository directory.
* Define your destination Docker image location:
```sh
export DESTINATION_GATEKEEPER_DOCKER_IMAGE=<YOUR DESIRED DESTINATION DOCKER IMAGE>
export DESTINATION_GATEKEEPER_IMAGE=<YOUR DESIRED DESTINATION DOCKER IMAGE>
```
* Build and push your Docker image:
```sh
make docker-buildx REPOSITORY="$DESTINATION_GATEKEEPER_DOCKER_IMAGE"
make docker-push REPOSITORY="$DESTINATION_GATEKEEPER_DOCKER_IMAGE"
make docker-buildx REPOSITORY="$DESTINATION_GATEKEEPER_IMAGE"
make docker-push REPOSITORY="$DESTINATION_GATEKEEPER_IMAGE"
```
* Finally, deploy:
```sh
make deploy REPOSITORY="$DESTINATION_GATEKEEPER_DOCKER_IMAGE"
make deploy REPOSITORY="$DESTINATION_GATEKEEPER_IMAGE"
```

### Deploying via Helm
Expand Down
8 changes: 4 additions & 4 deletions website/versioned_docs/version-v3.11.x/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,16 @@ Currently the most reliable way of installing Gatekeeper is to build and install
* `cd` to the repository directory.
* Define your destination Docker image location:
```sh
export DESTINATION_GATEKEEPER_DOCKER_IMAGE=<YOUR DESIRED DESTINATION DOCKER IMAGE>
export DESTINATION_GATEKEEPER_IMAGE=<YOUR DESIRED DESTINATION DOCKER IMAGE>
```
* Build and push your Docker image:
```sh
make docker-buildx REPOSITORY="$DESTINATION_GATEKEEPER_DOCKER_IMAGE"
make docker-push REPOSITORY="$DESTINATION_GATEKEEPER_DOCKER_IMAGE"
make docker-buildx REPOSITORY="$DESTINATION_GATEKEEPER_IMAGE"
make docker-push REPOSITORY="$DESTINATION_GATEKEEPER_IMAGE"
```
* Finally, deploy:
```sh
make deploy REPOSITORY="$DESTINATION_GATEKEEPER_DOCKER_IMAGE"
make deploy REPOSITORY="$DESTINATION_GATEKEEPER_IMAGE"
```

### Deploying via Helm
Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-v3.12.x/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ Currently the most reliable way of installing Gatekeeper is to build and install
* Build and push Gatekeeper image:
```sh
export DESTINATION_GATEKEEPER_IMAGE=<add registry like "myregistry.docker.io/gatekeeper">
make docker-buildx REPOSITORY=$DESTINATION_GATEKEEPER_DOCKER_IMAGE OUTPUT_TYPE=type=registry
make docker-buildx REPOSITORY=$DESTINATION_GATEKEEPER_IMAGE OUTPUT_TYPE=type=registry
```

> If you want to use a local image, don't set OUTPUT_TYPE and it will default to `OUTPUT_TYPE=type=docker`.
* Finally, deploy:
```sh
make deploy REPOSITORY=$DESTINATION_GATEKEEPER_DOCKER_IMAGE
make deploy REPOSITORY=$DESTINATION_GATEKEEPER_IMAGE
```
### Deploying via Helm
Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-v3.13.x/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ Currently the most reliable way of installing Gatekeeper is to build and install
* Build and push Gatekeeper image:
```sh
export DESTINATION_GATEKEEPER_IMAGE=<add registry like "myregistry.docker.io/gatekeeper">
make docker-buildx REPOSITORY=$DESTINATION_GATEKEEPER_DOCKER_IMAGE OUTPUT_TYPE=type=registry
make docker-buildx REPOSITORY=$DESTINATION_GATEKEEPER_IMAGE OUTPUT_TYPE=type=registry
```

> If you want to use a local image, don't set OUTPUT_TYPE and it will default to `OUTPUT_TYPE=type=docker`.
* Finally, deploy:
```sh
make deploy REPOSITORY=$DESTINATION_GATEKEEPER_DOCKER_IMAGE
make deploy REPOSITORY=$DESTINATION_GATEKEEPER_IMAGE
```
### Deploying via Helm
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-v3.14.x/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Currently the most reliable way of installing Gatekeeper is to build and install
* Finally, deploy:
```sh
make deploy REPOSITORY=$DESTINATION_GATEKEEPER_DOCKER_IMAGE
make deploy REPOSITORY=$DESTINATION_GATEKEEPER_IMAGE
```
### Deploying via Helm
Expand Down
8 changes: 4 additions & 4 deletions website/versioned_docs/version-v3.6.x/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,16 @@ Currently the most reliable way of installing Gatekeeper is to build and install
* `cd` to the repository directory.
* Define your destination Docker image location:
```sh
export DESTINATION_GATEKEEPER_DOCKER_IMAGE=<YOUR DESIRED DESTINATION DOCKER IMAGE>
export DESTINATION_GATEKEEPER_IMAGE=<YOUR DESIRED DESTINATION DOCKER IMAGE>
```
* Build and push your Docker image:
```sh
make docker-buildx REPOSITORY="$DESTINATION_GATEKEEPER_DOCKER_IMAGE"
make docker-push REPOSITORY="$DESTINATION_GATEKEEPER_DOCKER_IMAGE"
make docker-buildx REPOSITORY="$DESTINATION_GATEKEEPER_IMAGE"
make docker-push REPOSITORY="$DESTINATION_GATEKEEPER_IMAGE"
```
* Finally, deploy:
```sh
make deploy REPOSITORY="$DESTINATION_GATEKEEPER_DOCKER_IMAGE"
make deploy REPOSITORY="$DESTINATION_GATEKEEPER_IMAGE"
```

### Deploying via Helm
Expand Down
8 changes: 4 additions & 4 deletions website/versioned_docs/version-v3.7.x/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,16 @@ Currently the most reliable way of installing Gatekeeper is to build and install
* `cd` to the repository directory.
* Define your destination Docker image location:
```sh
export DESTINATION_GATEKEEPER_DOCKER_IMAGE=<YOUR DESIRED DESTINATION DOCKER IMAGE>
export DESTINATION_GATEKEEPER_IMAGE=<YOUR DESIRED DESTINATION DOCKER IMAGE>
```
* Build and push your Docker image:
```sh
make docker-buildx REPOSITORY="$DESTINATION_GATEKEEPER_DOCKER_IMAGE"
make docker-push REPOSITORY="$DESTINATION_GATEKEEPER_DOCKER_IMAGE"
make docker-buildx REPOSITORY="$DESTINATION_GATEKEEPER_IMAGE"
make docker-push REPOSITORY="$DESTINATION_GATEKEEPER_IMAGE"
```
* Finally, deploy:
```sh
make deploy REPOSITORY="$DESTINATION_GATEKEEPER_DOCKER_IMAGE"
make deploy REPOSITORY="$DESTINATION_GATEKEEPER_IMAGE"
```

### Deploying via Helm
Expand Down
8 changes: 4 additions & 4 deletions website/versioned_docs/version-v3.8.x/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,16 @@ Currently the most reliable way of installing Gatekeeper is to build and install
* `cd` to the repository directory.
* Define your destination Docker image location:
```sh
export DESTINATION_GATEKEEPER_DOCKER_IMAGE=<YOUR DESIRED DESTINATION DOCKER IMAGE>
export DESTINATION_GATEKEEPER_IMAGE=<YOUR DESIRED DESTINATION DOCKER IMAGE>
```
* Build and push your Docker image:
```sh
make docker-buildx REPOSITORY="$DESTINATION_GATEKEEPER_DOCKER_IMAGE"
make docker-push REPOSITORY="$DESTINATION_GATEKEEPER_DOCKER_IMAGE"
make docker-buildx REPOSITORY="$DESTINATION_GATEKEEPER_IMAGE"
make docker-push REPOSITORY="$DESTINATION_GATEKEEPER_IMAGE"
```
* Finally, deploy:
```sh
make deploy REPOSITORY="$DESTINATION_GATEKEEPER_DOCKER_IMAGE"
make deploy REPOSITORY="$DESTINATION_GATEKEEPER_IMAGE"
```

### Deploying via Helm
Expand Down
8 changes: 4 additions & 4 deletions website/versioned_docs/version-v3.9.x/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,16 @@ Currently the most reliable way of installing Gatekeeper is to build and install
* `cd` to the repository directory.
* Define your destination Docker image location:
```sh
export DESTINATION_GATEKEEPER_DOCKER_IMAGE=<YOUR DESIRED DESTINATION DOCKER IMAGE>
export DESTINATION_GATEKEEPER_IMAGE=<YOUR DESIRED DESTINATION DOCKER IMAGE>
```
* Build and push your Docker image:
```sh
make docker-buildx REPOSITORY="$DESTINATION_GATEKEEPER_DOCKER_IMAGE"
make docker-push REPOSITORY="$DESTINATION_GATEKEEPER_DOCKER_IMAGE"
make docker-buildx REPOSITORY="$DESTINATION_GATEKEEPER_IMAGE"
make docker-push REPOSITORY="$DESTINATION_GATEKEEPER_IMAGE"
```
* Finally, deploy:
```sh
make deploy REPOSITORY="$DESTINATION_GATEKEEPER_DOCKER_IMAGE"
make deploy REPOSITORY="$DESTINATION_GATEKEEPER_IMAGE"
```

### Deploying via Helm
Expand Down

0 comments on commit 7cd4ba6

Please sign in to comment.