Skip to content

Commit

Permalink
Get the version info inside the release object (wg-easy#1208)
Browse files Browse the repository at this point in the history
Fix "invalid reference format" in production Docker build
  • Loading branch information
pheiduck authored Jul 23, 2024
2 parents caad2e4 + d5b8d70 commit 52bcfb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set environment variables
run: echo RELEASE=$(cat ./src/package.json | jq -r .release) >> $GITHUB_ENV
run: echo RELEASE=$(cat ./src/package.json | jq -r .release | jq -r .version) >> $GITHUB_ENV

- name: Build & Publish Docker Image
uses: docker/build-push-action@v6
Expand Down

0 comments on commit 52bcfb0

Please sign in to comment.