Skip to content

feat: update extra labels on container #25

feat: update extra labels on container

feat: update extra labels on container #25

Workflow file for this run

name: Semantic versioning
on:
push:
branches: [ master, 1.3.0-extralabels ]
paths:
- Chart.yaml
jobs:
cancel-previous:
name: Cancel Previous Runs
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
semantic-version:
name: Semantic release
runs-on: ubuntu-latest
needs: [cancel-previous]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
# - name: Bump version and push tag
# id: tag_version
# uses: mathieudutour/[email protected]
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# release_branches: master
# custom_release_rules: major:major:Major Changes,minor:minor:Minor Changes,chore:patch:Chores
- name: Azure Login
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- name: Package && Azure CLI deploy to ACR
uses: azure/CLI@v1
with:
azcliversion: 2.30.0
inlineScript: |
az acr helm install-cli --client-version 3.6.3 --yes
helm package .
CHART_NAME=$( grep 'name:' Chart.yaml | tail -n 1)
CHART_NAME=${CHART_NAME//*name: /}
az acr helm push -n ${{ secrets.HELM_REGISTRY }} ${CHART_NAME}-1.3.1-extralabels.tgz
# - name: Create a GitHub release
# uses: ncipollo/release-action@v1
# with:
# tag: ${{ steps.tag_version.outputs.new_tag }}
# name: Release ${{ steps.tag_version.outputs.new_tag }}
# body: ${{ steps.tag_version.outputs.changelog }}