mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
Adding Helm functionality
This commit is contained in:
committed by
Shane McDonald
parent
e6a473b765
commit
efaa4718ec
41
.github/workflows/helm-release.yaml
vendored
Normal file
41
.github/workflows/helm-release.yaml
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
name: helm-release
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Configure Git
|
||||
run: |
|
||||
git config user.name "$GITHUB_ACTOR"
|
||||
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
|
||||
|
||||
- name: Install Helm
|
||||
uses: azure/setup-helm@v1
|
||||
with:
|
||||
version: v3.7.1
|
||||
|
||||
- name: Create Helm chart
|
||||
run: |
|
||||
echo VERSION: $VERSION
|
||||
make helm-chart
|
||||
env:
|
||||
VERSION: ${{ github.ref_name }}
|
||||
|
||||
# Reinventing the wheel if/until https://github.com/helm/chart-releaser-action/pull/96 is merged
|
||||
- name: Release Helm chart
|
||||
run: |
|
||||
echo VERSION: $VERSION
|
||||
make helm-release
|
||||
env:
|
||||
VERSION: ${{ github.ref_name }}
|
||||
CR_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user