From f54d69a1cc52c2e9905533b0241109f51ae146dc Mon Sep 17 00:00:00 2001 From: Hans Kristian Flaatten Date: Thu, 10 Aug 2023 23:00:22 +0200 Subject: [PATCH] Tag new versions in git --- .github/workflows/rollout.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rollout.yaml b/.github/workflows/rollout.yaml index d5fc51a..840651a 100644 --- a/.github/workflows/rollout.yaml +++ b/.github/workflows/rollout.yaml @@ -49,4 +49,14 @@ jobs: with: chart: oci://${{ env.ARTIFACT_REGISTRY }}/${{ env.ARTIFACT_REPO }}/${{ needs.meta.outputs.name }} version: ${{ needs.meta.outputs.version }} - feature_name: ${{ needs.meta.outputs.name }} \ No newline at end of file + feature_name: ${{ needs.meta.outputs.name }} + + git-tag: + runs-on: ubuntu-latest + needs: [meta, rollout] + steps: + - uses: actions/checkout@v3 + - name: git tag and push + run: | + git tag ${{ needs.meta.outputs.version }} + git push origin ${{ needs.meta.outputs.version }} \ No newline at end of file