From d51807aac2400e6466bc1fb42485be227b8d184b Mon Sep 17 00:00:00 2001 From: Yuvraj <10830562+evalsocket@users.noreply.github.com> Date: Thu, 4 Jun 2020 14:31:54 -0700 Subject: [PATCH] Hotfix/ci (#905) * docs update and fixed issue for docker push on release --- .github/workflows/release.yaml | 17 ++++++++++++----- charts/kyverno/README.md | 4 ++-- documentation/installation.md | 4 ++-- 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c5c977de0a..2a3cceda60 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -29,12 +29,19 @@ jobs: args: release --rm-dist env: GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} - - uses: azure/docker-login@v1 + - uses: docker/build-push-action@v1 with: - login-server: index.docker.io username: ${{ secrets.DOCKERIO_USERNAME }} password: ${{ secrets.DOCKERIO_PASSWORD }} - - run: | - docker push nirmata/kyverno - docker push nirmata/kyvernopre + repository: nirmata/kyverno + tag_with_ref: true + tag_with_sha: true + - uses: docker/build-push-action@v1 + with: + username: ${{ secrets.DOCKERIO_USERNAME }} + password: ${{ secrets.DOCKERIO_PASSWORD }} + repository: nirmata/kyvernopre + tag_with_ref: true + tag_with_sha: true + diff --git a/charts/kyverno/README.md b/charts/kyverno/README.md index ea311dc2bd..08c8c5efd3 100644 --- a/charts/kyverno/README.md +++ b/charts/kyverno/README.md @@ -12,10 +12,10 @@ ```console ## Add the nirmata Helm repository -$ helm repo add kyverno https://nirmata.github.io/kyverno/helm-charts/ +$ helm repo add kyverno https://nirmata.github.io/kyverno ## Install the kyverno helm chart -$ helm install --name my-release --namespace kyverno nirmata/kyverno +$ helm install --name my-release --namespace kyverno kyverno/kyverno $ helm install --create-namespace -n kyverno kyverno ./charts/kyverno ``` diff --git a/documentation/installation.md b/documentation/installation.md index dc41d0963f..65e2642e5c 100644 --- a/documentation/installation.md +++ b/documentation/installation.md @@ -8,10 +8,10 @@ You can install Kyverno using the Helm chart or YAML files in this repository. ```sh ## Add the nirmata Helm repository - helm repo add kyverno https://nirmata.github.io/kyverno/helm-charts/ +helm repo add kyverno https://nirmata.github.io/kyverno/ ## Install the kyverno helm chart -helm install --name my-release --namespace kyverno nirmata/kyverno +helm install --name my-release --namespace kyverno kyverno/kyverno ```