diff --git a/.github/workflows/chart.yaml b/.github/workflows/chart.yaml index 7693ad7..19b08c0 100644 --- a/.github/workflows/chart.yaml +++ b/.github/workflows/chart.yaml @@ -14,11 +14,11 @@ jobs: id: vars run: | if [[ ${GITHUB_REF} == "refs/heads/main" ]]; then - echo ::set-output name=TAG::latest + echo "TAG=latest" >> $GITHUB_OUTPUT else - echo ::set-output name=TAG::${GITHUB_REF#refs/tags/} + echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT fi - echo ::set-output name=GITVERSION::git-$(git rev-parse --short HEAD) + echo "GITVERSION=git-$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT - name: Login ghcr.io uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0 with: @@ -62,7 +62,7 @@ jobs: - name: Get the vars id: vars run: | - echo ::set-output name=TAG::${GITHUB_REF#refs/tags/} + echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT - name: Install Helm uses: azure/setup-helm@v1 with: diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 7be111f..ca7961b 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -45,9 +45,9 @@ jobs: run: | if [[ "${{ github.ref }}" == refs/tags/v* ]]; then echo "pushing tag: ${{ github.ref_name }}" - echo "::set-output name=matrix::${{ env.K3D_IMAGE_VERSIONS }}" + echo "matrix=${{ env.K3D_IMAGE_VERSIONS }}" >> $GITHUB_OUTPUT else - echo "::set-output name=matrix::${{ env.K3D_IMAGE_VERSION }}" + echo "matrix=${{ env.K3D_IMAGE_VERSION }}" >> $GITHUB_OUTPUT fi e2e-tests: