Skip to content

Commit

Permalink
🐳Updated CI to get FMP version
Browse files Browse the repository at this point in the history
  • Loading branch information
soaibsafi committed Oct 21, 2024
1 parent 48c8c3f commit 2a313d9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ jobs:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_TOKEN }}

- name: Extract VITE_FMP_VERSION
id: extract_version
run: echo "VITE_FMP_VERSION=$(echo $DOCKER_METADATA_OUTPUT_VERSION)" >> $GITHUB_ENV

- name: Print version
run: echo "VITE_FMP_VERSION is ${{ env.VITE_FMP_VERSION }}"

- name: Determine Tags
id: determine-tags
Expand All @@ -83,4 +90,4 @@ jobs:
push: true
build-args: |
VITE_FMP_API_URL=https://play.formal-methods.net/api
VITE_FMP_VERSION=${{ env.TAGS }}
VITE_FMP_VERSION=${{ env.VITE_FMP_VERSION }}

0 comments on commit 2a313d9

Please sign in to comment.