Skip to content

Commit 3a1e0b7

Browse files
authored
update for drone 1
1 parent 1def2c9 commit 3a1e0b7

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

README.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ docker run \
1717

1818
## Example
1919

20-
Drone 0.5+:
20+
### Drone 1+
2121

2222
```yml
2323
pipeline:
@@ -33,6 +33,27 @@ pipeline:
3333
secrets: [google_credentials]
3434
```
3535
36+
### Drone 0.5+
37+
38+
<details>
39+
<summary>Expand</summary>
40+
41+
```yml
42+
steps:
43+
- name: gke-actions
44+
image: tonglil/auth-gke
45+
environment:
46+
PROJECT: my-project
47+
LOCATION: us-central1-b # zone or region
48+
CLUSTER: my-cluster
49+
TOKEN:
50+
from_secret: google_credentials
51+
commands:
52+
- auth-gke
53+
- kubectl ...
54+
```
55+
</details>
56+
3657
## Releasing
3758
3859
Use the base image's `gcloud` version number as the tag:

0 commit comments

Comments
 (0)