Skip to content

Commit

Permalink
fix: replace set-output with GITHUB_OUTPUT
Browse files Browse the repository at this point in the history
Signed-off-by: Gökay Gürcan <[email protected]>
  • Loading branch information
gokaygurcan committed Jan 7, 2024
1 parent 95f8d5b commit ef992e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:

jobs:
version:
name: Version
name: version
runs-on: ubuntu-latest
outputs:
version: ${{ steps.version.outputs.version }}
Expand All @@ -22,7 +22,7 @@ jobs:
name: Version
run: |
grep -r "NGINX_VERSION=" Dockerfile | cut -d "=" -f 2 | cut -d " " -f 1
echo "::set-output name=version::$(grep -r "NGINX_VERSION=" Dockerfile | cut -d "=" -f 2 | cut -d " " -f 1)"
echo "{version}={$(grep -r "NGINX_VERSION=" Dockerfile | cut -d "=" -f 2 | cut -d " " -f 1)}" >> $GITHUB_OUTPUT
nginx:
name: nginx
Expand Down

0 comments on commit ef992e6

Please sign in to comment.