From 0505655b4e658c9a0cf1c37f04cf559b1bf32d1c Mon Sep 17 00:00:00 2001 From: Fabio Bonelli Date: Fri, 24 May 2024 18:10:43 +0200 Subject: [PATCH] chore(ci): use $GITHUB_ENV instead of ::set-output --- .github/workflows/release-chart.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-chart.yml b/.github/workflows/release-chart.yml index 08827d2..63d8fcf 100644 --- a/.github/workflows/release-chart.yml +++ b/.github/workflows/release-chart.yml @@ -13,13 +13,13 @@ jobs: - uses: actions/checkout@v4 - name: Get version id: get_version - run: echo "::set-output name=version::${GITHUB_REF_NAME#helm/}" + run: echo "version=${GITHUB_REF_NAME#helm/}" >> $GITHUB_ENV - name: Push chart to GitHub Container Registry uses: appany/helm-oci-chart-releaser@v0.4.1 with: name: publiccode-crawler repository: ${{ github.repository }}/charts - tag: ${{ steps.get_version.outputs.version }} + tag: ${{ env.version }} registry: ghcr.io registry_username: ${{ github.actor }} registry_password: ${{ secrets.GITHUB_TOKEN }}