Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add platform flag to usage. #9

Merged
merged 1 commit into from
Jun 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,21 @@ $ go install github.com/chainguard-dev/incert@latest

```shell
-ca-certs-file string
The path to the local CA certificates file
The path to the local CA certificates file
-ca-certs-image-url string
The URL of an image to extract the CA certificates from
The URL of an image to extract the CA certificates from
-dest-image-url string
The URL of the image to push the modified image to
The URL of the image to push the modified image to
-image-cert-path string
The path to the certificate file in the image (optional) (default "/etc/ssl/certs/ca-certificates.crt")
The path to the certificate file in the image (optional) (default "/etc/ssl/certs/ca-certificates.crt")
-image-url string
The URL of the image to append the CA certificates to
The URL of the image to append the CA certificates to
-output-certs-path string
Output the (appended) certificates file from the image to a local file (optional)
Output the (appended) certificates file from the image to a local file (optional)
-platform string
The platform to build for (default linux/amd64) (default "linux/amd64")
-replace-certs
Replace the certificates in the certificate file instead of appending them
Replace the certificates in the certificate file instead of appending them
```

## Example
Expand Down Expand Up @@ -93,4 +95,4 @@ UvupLnKWnyfjqnN9+BojZns7q2WwMgFLFT49ok8MKzWixtlnEjUwzXYuFrOZnk1P
Ti07NEPhmg4NpGaXutIcSkwsKouLgU9xGqndXHt7CMUADTdA43x7VF8vhV929ven
sBxXVsFy6K2ir40zSbofitzmdHxghm+Hl3s=
-----END CERTIFICATE-----
```
```
Loading