Browse Source

Get the version info inside the release object (#1208)

Fix "invalid reference format" in production Docker build
pull/1211/head
Philip H. 8 months ago
committed by GitHub
parent
commit
52bcfb056a
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      .github/workflows/deploy.yml

2
.github/workflows/deploy.yml

@ -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

Loading…
Cancel
Save