Skip to content

Commit

Permalink
add attestation description and update default image tag in README
Browse files Browse the repository at this point in the history
  • Loading branch information
clowa committed Aug 21, 2024
1 parent a0cdce7 commit 6afdc1f
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Available images can be found in the [GitHub Container Registry](https://github.
You can pull the pre-built image from the GitHub Container Registry:

```bash
docker pull ghcr.io/teqwerk/terraform-azure-cli:latest
docker pull ghcr.io/teqwerk/terraform-azure-cli:main
```

**OR** you can build the image yourself:
Expand All @@ -41,7 +41,7 @@ docker build --build-arg TERRAFORM_VERSION=1.9.3 --build-arg AZURE_CLI_VERSION=2
You can run the container using the following command:

```bash
docker run -it --rm ghcr.io/teqwerk/terraform-azure-cli:latest
docker run -it --rm ghcr.io/teqwerk/terraform-azure-cli:main
```

Once inside the container, you can use terraform and az commands as you would normally:
Expand All @@ -55,6 +55,19 @@ az --version

The versions of Terraform and Azure CLI are managed in the `versions.json` file. The GitHub Actions workflows automatically update these versions every `24 h` and rebuild the Docker image.

## View attestation

> [!TIP]
> Attestations help you helps you protect against supply chain attacks by verifying the integrity of the image. Read more about attestation [here](https://github.blog/changelog/2024-06-25-artifact-attestations-is-generally-available/).
You can view the attestation of the image by running the following github cli command:

```bash
gh attestation verify oci://ghcr.io/teqwerk/terraform-azure-cli:main --owner teqwerk
```

_Replace `main` with the tag you want to verify._

## Contributing

Nice you are thinking about contributing! Contributions are always welcome! Please feel free to open an issue or submit a pull request.

0 comments on commit 6afdc1f

Please sign in to comment.