From 04dceb7b9f353b9259db8bc9605135af0a76fc40 Mon Sep 17 00:00:00 2001 From: Maksym Zub Date: Thu, 5 Dec 2024 19:06:40 +0100 Subject: [PATCH] Update action.yml (#29) --- .../actions/shielder-relayer/build-and-push/action.yml | 2 +- .github/workflows/manual-publish-dev-env.yml | 9 +++++++++ .../testnet-build-and-deploy-shielder-relayer.yml | 9 +++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/actions/shielder-relayer/build-and-push/action.yml b/.github/actions/shielder-relayer/build-and-push/action.yml index f71b92a7..764d71f0 100644 --- a/.github/actions/shielder-relayer/build-and-push/action.yml +++ b/.github/actions/shielder-relayer/build-and-push/action.yml @@ -44,7 +44,7 @@ runs: with: context: . builder: ${{ steps.buildx.outputs.name }} - file: ./crates/shielder-relayer/docker/Dockerfile + file: ./crates/shielder-relayer/docker/Dockerfile.client push: true tags: "${{ inputs.ecr-private-host }}/shielder-relayer:\ ${{ steps.get-ref-properties.outputs.sha }}" diff --git a/.github/workflows/manual-publish-dev-env.yml b/.github/workflows/manual-publish-dev-env.yml index 6272e25b..e77d009b 100644 --- a/.github/workflows/manual-publish-dev-env.yml +++ b/.github/workflows/manual-publish-dev-env.yml @@ -12,6 +12,15 @@ jobs: - name: GIT | Checkout uses: actions/checkout@v4 + - name: Prepare Rust env + uses: ./.github/actions/prepare-rust-env + with: + poseidon-gadget-private-key: ${{ secrets.SSH_PRIVATE_KEY }} + zkos-circuits-private-key: ${{ secrets.ZKOS_CIRCUITS_SSH_PRIVATE_KEY }} + + - name: Build relayer + run: cd crates/shielder-relayer && make build + - name: DOCKER | Build and push uses: ./.github/actions/shielder-relayer/build-and-push id: build_shielder_relayer diff --git a/.github/workflows/testnet-build-and-deploy-shielder-relayer.yml b/.github/workflows/testnet-build-and-deploy-shielder-relayer.yml index 621d8b00..1244b97e 100644 --- a/.github/workflows/testnet-build-and-deploy-shielder-relayer.yml +++ b/.github/workflows/testnet-build-and-deploy-shielder-relayer.yml @@ -12,6 +12,15 @@ jobs: - name: GIT | Checkout uses: actions/checkout@v4 + - name: Prepare Rust env + uses: ./.github/actions/prepare-rust-env + with: + poseidon-gadget-private-key: ${{ secrets.SSH_PRIVATE_KEY }} + zkos-circuits-private-key: ${{ secrets.ZKOS_CIRCUITS_SSH_PRIVATE_KEY }} + + - name: Build relayer + run: cd crates/shielder-relayer && make build + - name: DOCKER | Build and push uses: ./.github/actions/shielder-relayer/build-and-push id: build_shielder_relayer