Skip to content

Commit a5795ce

Browse files
Merge pull request #265554 from yizha1/update_version
doc: update tools to latest version
2 parents 8b19d9d + 36003ac commit a5795ce

File tree

2 files changed

+15
-30
lines changed

2 files changed

+15
-30
lines changed

articles/container-registry/container-registry-tutorial-sign-build-push.md

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,35 +30,27 @@ In this tutorial:
3030

3131
## Install Notation CLI and AKV plugin
3232

33-
1. Install Notation v1.0.1 on a Linux amd64 environment. You can also download the package for other environments by following the [Notation installation guide](https://notaryproject.dev/docs/user-guides/installation/).
33+
1. Install Notation v1.1.0 on a Linux amd64 environment. Follow the [Notation installation guide](https://notaryproject.dev/docs/user-guides/installation/cli/) to download the package for other environments.
3434

3535
```bash
3636
# Download, extract and install
37-
curl -Lo notation.tar.gz https://github.com/notaryproject/notation/releases/download/v1.0.1/notation_1.0.1_linux_amd64.tar.gz
37+
curl -Lo notation.tar.gz https://github.com/notaryproject/notation/releases/download/v1.1.0/notation_1.1.0_linux_amd64.tar.gz
3838
tar xvzf notation.tar.gz
3939

4040
# Copy the Notation binary to the desired bin directory in your $PATH, for example
4141
cp ./notation /usr/local/bin
4242
```
4343

44-
2. Install the Notation Azure Key Vault plugin on a Linux amd64 environment. You can also download the package for other environments by following the [Notation AKV plugin installation guide](https://github.com/Azure/notation-azure-kv#installation-the-akv-plugin).
44+
2. Install the Notation Azure Key Vault plugin `azure-kv` v1.0.2 on a Linux amd64 environment.
4545

4646
> [!NOTE]
47-
> The plugin directory varies depending upon the operating system being used. The directory path below assumes Ubuntu. Please read the [Notation directory structure for system configuration](https://notaryproject.dev/docs/user-guides/how-to/directory-structure/) for more information.
48-
47+
> The URL and SHA256 checksum for the Notation Azure Key Vault plugin can be found on the plugin's [release page](https://github.com/Azure/notation-azure-kv/releases).
48+
4949
```bash
50-
# Create a directory for the plugin
51-
mkdir -p ~/.config/notation/plugins/azure-kv
52-
53-
# Download the plugin
54-
curl -Lo notation-azure-kv.tar.gz \
55-
https://github.com/Azure/notation-azure-kv/releases/download/v1.0.1/notation-azure-kv_1.0.1_linux_amd64.tar.gz
56-
57-
# Extract to the plugin directory
58-
tar xvzf notation-azure-kv.tar.gz -C ~/.config/notation/plugins/azure-kv
50+
notation plugin install --url https://github.com/Azure/notation-azure-kv/releases/download/v1.0.2/notation-azure-kv_1.0.2_linux_amd64.tar.gz --sha256sum f2b2e131a435b6a9742c202237b9aceda81859e6d4bd6242c2568ba556cee20e
5951
```
6052
61-
3. List the available plugins.
53+
3. List the available plugins and confirm that the `azure-kv` plugin with version `1.0.2` is included in the list.
6254
6355
```bash
6456
notation plugin ls

articles/container-registry/container-registry-tutorial-sign-trusted-ca.md

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -42,34 +42,27 @@ In this article:
4242
4343
## Install the notation CLI and AKV plugin
4444

45-
1. Install `Notation v1.0.0` on a Linux amd64 environment. Follow the [Notation installation guide](https://notaryproject.dev/docs/user-guides/installation/cli/) to download the package for other environments.
45+
1. Install Notation v1.1.0 on a Linux amd64 environment. Follow the [Notation installation guide](https://notaryproject.dev/docs/user-guides/installation/cli/) to download the package for other environments.
4646

4747
```bash
4848
# Download, extract and install
49-
curl -Lo notation.tar.gz https://github.com/notaryproject/notation/releases/download/v1.0.0/notation_1.0.0_linux_amd64.tar.gz
49+
curl -Lo notation.tar.gz https://github.com/notaryproject/notation/releases/download/v1.1.0/notation_1.1.0_linux_amd64.tar.gz
5050
tar xvzf notation.tar.gz
5151

5252
# Copy the notation cli to the desired bin directory in your PATH, for example
5353
cp ./notation /usr/local/bin
5454
```
5555

56-
2. Install the notation Azure Key Vault plugin on a Linux environment for remote signing. You can also download the package for other environments by following the [Notation AKV plugin installation guide](https://github.com/Azure/notation-azure-kv#installation-the-akv-plugin).
56+
2. Install the Notation Azure Key Vault plugin `azure-kv` v1.0.2 on a Linux amd64 environment.
57+
58+
> [!NOTE]
59+
> The URL and SHA256 checksum for the Notation Azure Key Vault plugin can be found on the plugin's [release page](https://github.com/Azure/notation-azure-kv/releases).
5760
5861
```bash
59-
# Create a directory for the plugin
60-
mkdir -p ~/.config/notation/plugins/azure-kv
61-
62-
# Download the plugin
63-
curl -Lo notation-azure-kv.tar.gz https://github.com/Azure/notation-azure-kv/releases/download/v1.0.1/notation-azure-kv_1.0.1_linux_amd64.tar.gz
64-
65-
# Extract to the plugin directory
66-
tar xvzf notation-azure-kv.tar.gz -C ~/.config/notation/plugins/azure-kv
62+
notation plugin install --url https://github.com/Azure/notation-azure-kv/releases/download/v1.0.2/notation-azure-kv_1.0.2_linux_amd64.tar.gz --sha256sum f2b2e131a435b6a9742c202237b9aceda81859e6d4bd6242c2568ba556cee20e
6763
```
6864
69-
> [!NOTE]
70-
> The plugin directory varies depending upon the operating system in use. The directory path assumes Ubuntu. For more information, see [Notation directory structure for system configuration.](https://notaryproject.dev/docs/user-guides/how-to/directory-structure/)
71-
72-
3. List the available plugins.
65+
3. List the available plugins and confirm that the `azure-kv` plugin with version `1.0.2` is included in the list.
7366
7467
```bash
7568
notation plugin ls

0 commit comments

Comments
 (0)