Skip to content

Commit

Permalink
Push the helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
angelbarrera92 committed Oct 7, 2020
1 parent 800ec93 commit 00affa0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ jobs:
docker login ghcr.io -u "${{ secrets.DOCKER_USERNAME }}" -p "${{ secrets.DOCKER_PASSWORD }}"
make TAG_VERSION=${GITHUB_REF##*/} publish_container_image
make TAG_VERSION=latest publish_container_image
- name: Publish Helm Chart
env:
HELM_EXPERIMENTAL_OCI: "1"
run: |
wget https://get.helm.sh/helm-v3.3.4-linux-amd64.tar.gz
tar -zxvf helm-v3.3.4-linux-amd64.tar.gz
linux-amd64/helm registry login -u "${{ secrets.DOCKER_USERNAME }}" -p "${{ secrets.DOCKER_PASSWORD }}" ghcr.io
linux-amd64/helm chart save deployments/helm/k8spin-operator ghcr.io/k8spin/k8spin-operator-chart:${GITHUB_REF##*/}
linux-amd64/helm chart push ghcr.io/k8spin/k8spin-operator-chart:${GITHUB_REF##*/}
- name: Create k8spin krew package
run: |
cp kubectl-k8spin.py kubectl-k8spin
Expand Down

0 comments on commit 00affa0

Please sign in to comment.