From 081d5b9ba727f878ddc09d94f2391c035809a6e7 Mon Sep 17 00:00:00 2001 From: _ArN0b-- Date: Sat, 3 Dec 2022 02:31:23 +0600 Subject: [PATCH] Update README.md --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index a1c8471..03c0cad 100644 --- a/README.md +++ b/README.md @@ -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: /: + +```