Skip to content

Commit

Permalink
reverted changes so helm only pushes on git tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Rose Yemelyanova committed Sep 14, 2022
1 parent 5bc1207 commit 4e2af8b
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/helm.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
name: Helm CI

on: [push]

# on:
# push:
# tags:
# - '*'
on:
push:
tags:
- '*'

env:
GCR_IMAGE: ghcr.io/diamondlightsource/diffcalc-api
Expand Down Expand Up @@ -43,9 +41,5 @@ jobs:
- name: package chart and push it
run: |
helm dependencies update helm/diffcalc-api
helm package helm/diffcalc-api --version 0.1.0 -d /tmp/
helm push /tmp/diffcalc-api-0.1.0.tgz oci://ghcr.io/diamondlightsource/charts
# helm package helm/diffcalc-api --version ${GITHUB_REF##*/} -d /tmp/
# helm push /tmp/diffcalc-api-${GITHUB_REF##*/}.tgz oci://ghcr.io/diamondlightsource/charts
helm package helm/diffcalc-api --version ${GITHUB_REF##*/} -d /tmp/
helm push /tmp/diffcalc-api-${GITHUB_REF##*/}.tgz oci://ghcr.io/diamondlightsource/charts

0 comments on commit 4e2af8b

Please sign in to comment.