Skip to content

Commit

Permalink
Merge pull request #1 from depot/remove-shim
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobwgillespie authored Sep 28, 2023
2 parents 891b685 + 19bd538 commit a676f85
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 19 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This action prepares the environment to build Docker images with the [Depot CLI]
1. Installs the `depot` CLI in the GitHub Actions environment.
2. Installs Depot as a Docker CLI plugin (`docker depot ...`)
3. Sets the Depot plugin as the default Docker builder (`docker build ...`)
4. Installs a Buildx shim so that `docker buildx build` is forwarded to the Depot plugin.
4. Installs a Buildx driver so that `docker buildx build` is forwarded to the Depot plugin.

## Usage

Expand Down Expand Up @@ -61,7 +61,6 @@ jobs:
- `project` (optional) - A string representing the project ID to use for builds. This can be overridden by the `DEPOT_PROJECT_ID` environment variable or the `--project` CLI flag.
- `token` (optional) - A string representing the API token to use for authentication. This can be overridden by the `DEPOT_TOKEN` environment variable.
- `version` (optional) - A string representing the version of the Depot CLI to install (e.g. `1.2.3`). The default value is `latest` which will install the latest available version. Can also specify a semver version range selector (e.g. `0.x.x`).
- `shim-buildx` (optional) - A boolean representing whether to install the Buildx shim. The default value is `true`.

## License

Expand Down
5 changes: 0 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,3 @@ inputs:
If set, will populate the `DEPOT_TOKEN` environment variable.
default: ''
required: false
shim-buildx:
description: |-
If set, will install the `buildx build` shim.
default: 'true'
required: false
Loading

0 comments on commit a676f85

Please sign in to comment.