From f7180ae67e3ca05ec10075156afe64ae42cbfb5d Mon Sep 17 00:00:00 2001 From: mikeplotean Date: Mon, 20 Jan 2025 17:42:23 +0200 Subject: [PATCH] ci: update build workflow to reference ebsi --- .github/workflows/build.yml | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ea9a9de043..3e8425e93d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,6 +6,12 @@ on: - main jobs: + environment: + runs-on: ubuntu-latest + outputs: + artifact-path: "/tmp" + steps: + - run: echo "Setting up environment" version: uses: walt-id/waltid-identity/.github/workflows/version.yml@266f5c09359450c39019a6da38f2b331e7122918 gradle-build: @@ -14,7 +20,16 @@ jobs: with: version: ${{ needs.version.outputs.release_version }} docker-build: - uses: walt-id/waltid-identity/.github/workflows/build-docker.yml@266f5c09359450c39019a6da38f2b331e7122918 - needs: version + uses: walt-id/waltid-identity/.github/workflows/build-docker.yml@feat/docker-build-share + needs: [ environment, version ] + with: + version: ${{ needs.version.outputs.release_version }} + artifact: ${{ needs.environment.outputs.artifact-path }} + ebsi-ct-v3: + uses: walt-id/waltid-identity/.github/workflows/ebsictv3.yml@feat/docker-build-share + needs: [ environment, version, docker-build ] + secrets: inherit with: - version: ${{ needs.version.outputs.release_version }} \ No newline at end of file + artifact: issuer-api + path: ${{ needs.environment.outputs.artifact-path }} + tag: "waltid/issuer-api:${{ needs.version.outputs.release_version }}" \ No newline at end of file