Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
arn-ob authored Dec 2, 2022
1 parent 1e71fbe commit 081d5b9
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,23 @@ jobs:
do_container_name: ${{ secrets.DO_CONTAINER_NAME }}
do_image_tag: ${{ secrets.DO_IMAGE_TAG }}
```
Example
```yaml
jobs:
update-image:
name: Build docker image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Push the build image to the DO kubectl
uses: arn-ob/do-kubectl-action@main
with:
do_access_token: ${{ secrets.DO_ACCESS_TOKEN }}
do_cluster_certificate: ${{ secrets.DO_CLUSTER_CERTIFICATE }}
do_deployment_name: deploy-app
do_container_name: deploy-app
do_image_tag: <username>/<image-name>:<image-tag>

```

0 comments on commit 081d5b9

Please sign in to comment.