From 4bdb5a0db998d03a4229afe54e611cf93697cb53 Mon Sep 17 00:00:00 2001 From: Alastair Pitts Date: Thu, 7 Dec 2023 15:57:42 +1100 Subject: [PATCH] Fix timestamp --- .github/workflows/kubernetes-tentacle-publish-chart.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/kubernetes-tentacle-publish-chart.yaml b/.github/workflows/kubernetes-tentacle-publish-chart.yaml index 922f147f..61917954 100644 --- a/.github/workflows/kubernetes-tentacle-publish-chart.yaml +++ b/.github/workflows/kubernetes-tentacle-publish-chart.yaml @@ -27,8 +27,8 @@ jobs: - id: version run: | - DATE=$(date '+%Y%m%d%H%M%S') - echo "CHART_VERSION=${{ steps.read_chart_yaml.outputs.version }}-${{ steps.branch_names.outputs.branch_name }}-$DATE" >> $GITHUB_ENV + timestamp=`date +%Y%m%d%H%M%S` + echo "CHART_VERSION=${{ steps.read_chart_yaml.outputs.version }}-${{ steps.branch_names.outputs.branch_name }}-$timestamp" >> $GITHUB_ENV #- name: Login to Artifactory # run: helm registry login packages.octopushq.com -u '${{ }}' -p '${{}}'