Skip to content

Commit

Permalink
update for drone 1
Browse files Browse the repository at this point in the history
  • Loading branch information
tonglil authored Apr 15, 2021
1 parent 1def2c9 commit 3a1e0b7
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ docker run \

## Example

Drone 0.5+:
### Drone 1+

```yml
pipeline:
Expand All @@ -33,6 +33,27 @@ pipeline:
secrets: [google_credentials]
```
### Drone 0.5+
<details>
<summary>Expand</summary>
```yml
steps:
- name: gke-actions
image: tonglil/auth-gke
environment:
PROJECT: my-project
LOCATION: us-central1-b # zone or region
CLUSTER: my-cluster
TOKEN:
from_secret: google_credentials
commands:
- auth-gke
- kubectl ...
```
</details>
## Releasing
Use the base image's `gcloud` version number as the tag:
Expand Down

0 comments on commit 3a1e0b7

Please sign in to comment.