Skip to content

Commit

Permalink
ci: fix revision build (#339)
Browse files Browse the repository at this point in the history
ci: add NODE_OPTIONS to the revision build

Signed-off-by: Yurii Shynbuiev <[email protected]>
  • Loading branch information
yshyn-iohk committed Aug 21, 2024
1 parent 05479f6 commit f7cb882
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,12 @@ jobs:
run: echo "BUILD_VERSION=${{ env.VERSION }}-${{ env.BUILD_NUMBER }}-${{ env.COMMIT_HASH }}" >> $GITHUB_ENV

- name: Build and push Docker image
env:
NODE_OPTIONS: --openssl-legacy-provider
run: |
sbt "set ThisBuild / version := \"${{ env.BUILD_VERSION }}\"" "docker:stage"
sbt -J-Xmx5120m "set ThisBuild / version := \"${{ env.BUILD_VERSION }}\"" "docker:stage"
docker buildx build --platform=linux/arm64,linux/amd64 --push -t ghcr.io/hyperledger/identus-mediator:${{ env.BUILD_VERSION}} ./mediator/target/docker/stage

- name: Trigger helm chart update
uses: peter-evans/repository-dispatch@v3
Expand Down

0 comments on commit f7cb882

Please sign in to comment.