Skip to content

Commit

Permalink
chore(ci): use $GITHUB_ENV instead of ::set-output
Browse files Browse the repository at this point in the history
  • Loading branch information
bfabio committed May 24, 2024
1 parent 70c4a77 commit 0505655
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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 }}

0 comments on commit 0505655

Please sign in to comment.