Skip to content

Commit

Permalink
fix/issue23 (#26)
Browse files Browse the repository at this point in the history
* fix deprecated set output option in ci
Fixes #23

* Update CI workflow to include getting version number from package.json
  • Loading branch information
danishjoseph authored Apr 24, 2024
1 parent fa4c15d commit e87fbba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:

- name: Build Docker image
run: |
docker build -t ${{ secrets.DOCKER_HUB_USERNAME }}/stockdog:v-${{ steps.version.outputs.version }} .
docker build -t ${{ secrets.DOCKER_HUB_USERNAME }}/stockdog:v-${{ env.VERSION }} .
- name: Login to DockerHub
uses: docker/login-action@v3
Expand All @@ -57,4 +57,4 @@ jobs:
password: ${{ secrets.DOCKER_HUB_TOKEN }}

- name: Push Docker image
run: docker push ${{ secrets.DOCKER_HUB_USERNAME }}/stockdog:v-${{ steps.version.outputs.version }}
run: docker push ${{ secrets.DOCKER_HUB_USERNAME }}/stockdog:v-${{ env.VERSION }}

0 comments on commit e87fbba

Please sign in to comment.