Skip to content

Commit

Permalink
actions- fix syntax for setting env var from script
Browse files Browse the repository at this point in the history
  • Loading branch information
nektro committed Jan 22, 2022
1 parent 07783d2 commit e3d9faa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ jobs:
- run: ./make_release.sh ${{ secrets.GITHUB_TOKEN }}

# Docker image
- run: echo "RELEASE_NUM=$(./release_num.sh)" >> $GITHUB_ENV
- run: echo ${{ env.RELEASE_NUM }}
- uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USER }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
repository: ${{ env.GITHUB_REPOSITORY }}
tags: latest,r${{ env.RELEASE_NUM }}
build_args: RELEASE_NUM=${{ env.RELEASE_NUM }}
env:
RELEASE_NUM: ${{ $(./release_num.sh) }}

0 comments on commit e3d9faa

Please sign in to comment.