diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 5c49470..ecdf80d 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Set VERSION - VERSION=$( echo "${{ github.event.repository.updated_at}}" | tr -d ':-TZ' ) + VERSION=$( echo "${{ github.event.repository.updated_at}}" | tr -d 'TZ:-' ) echo "VERSION=$VERSION" >> $GITHUB_ENV - name: Checkout repository uses: actions/checkout@v3 diff --git a/.github/workflows/helm.yaml b/.github/workflows/helm.yaml index 26cb24e..b169439 100644 --- a/.github/workflows/helm.yaml +++ b/.github/workflows/helm.yaml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v3 - name: version run: | - VERSION=$( echo "${{ github.event.repository.updated_at}}" | tr -d '-:TZ' ) + VERSION=$( echo "${{ github.event.repository.updated_at}}" | tr -d 'TZ:-' ) sed -i -e "s/__VERSION__/$VERSION/g" helm/Chart.yaml cat helm/Chart.yaml - name: push