Skip to content

Commit

Permalink
use vars instead of envs (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-korotya authored Oct 23, 2024
1 parent a67e069 commit ba73db6
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/publis-container-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,37 +42,37 @@ jobs:
cd driver-did-iden3
echo -e "polygon:" > resolvers.settings.yaml
echo -e " amoy:" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ env.STATE_POLYGON_AMOY }}" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ vars.STATE_POLYGON_AMOY }}" >> resolvers.settings.yaml
echo -e " networkURL: ${{ secrets.RPC_POLYGON_AMOY }}" >> resolvers.settings.yaml
echo -e " main:" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ env.STATE_POLYGON_MAIN }}" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ vars.STATE_POLYGON_MAIN }}" >> resolvers.settings.yaml
echo -e " networkURL: ${{ secrets.RPC_POLYGON_MAIN }}" >> resolvers.settings.yaml
echo -e " cardona:" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ env.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ vars.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " networkURL: ${{ secrets.RPC_POLYGON_ZKEVM_CARDONA }}" >> resolvers.settings.yaml
echo -e " zkevm:" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ env.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ vars.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " networkURL: ${{ secrets.RPC_POLYGON_ZKEVM_MAIN }}" >> resolvers.settings.yaml
echo -e "privado:" >> resolvers.settings.yaml
echo -e " main:" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ env.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ vars.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " networkURL: ${{ secrets.RPC_PRIVADO_MAIN }}" >> resolvers.settings.yaml
echo -e " test:" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ env.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ vars.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " networkURL: ${{ secrets.RPC_PRIVADO_TEST }}" >> resolvers.settings.yaml
echo -e "eth:" >> resolvers.settings.yaml
echo -e " main:" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ env.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ vars.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " networkURL: ${{ secrets.RPC_ETHEREUM_MAIN }}" >> resolvers.settings.yaml
echo -e " sepolia:" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ env.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ vars.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " networkURL: ${{ secrets.RPC_ETHEREUM_SEPOLIA }}" >> resolvers.settings.yaml
echo -e "linea:" >> resolvers.settings.yaml
echo -e " main:" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ env.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ vars.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " networkURL: ${{ secrets.RPC_LINEA_MAIN }}" >> resolvers.settings.yaml
echo -e " sepolia:" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ env.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ vars.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " networkURL: ${{ secrets.RPC_LINEA_SEPOLIA }}" >> resolvers.settings.yaml
- name: Set up Docker Buildx
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/push-container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,37 +29,37 @@ jobs:
cd driver-did-iden3
echo -e "polygon:" > resolvers.settings.yaml
echo -e " amoy:" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ env.STATE_POLYGON_AMOY }}" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ vars.STATE_POLYGON_AMOY }}" >> resolvers.settings.yaml
echo -e " networkURL: ${{ secrets.RPC_POLYGON_AMOY }}" >> resolvers.settings.yaml
echo -e " main:" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ env.STATE_POLYGON_MAIN }}" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ vars.STATE_POLYGON_MAIN }}" >> resolvers.settings.yaml
echo -e " networkURL: ${{ secrets.RPC_POLYGON_MAIN }}" >> resolvers.settings.yaml
echo -e " cardona:" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ env.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ vars.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " networkURL: ${{ secrets.RPC_POLYGON_ZKEVM_CARDONA }}" >> resolvers.settings.yaml
echo -e " zkevm:" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ env.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ vars.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " networkURL: ${{ secrets.RPC_POLYGON_ZKEVM_MAIN }}" >> resolvers.settings.yaml
echo -e "privado:" >> resolvers.settings.yaml
echo -e " main:" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ env.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ vars.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " networkURL: ${{ secrets.RPC_PRIVADO_MAIN }}" >> resolvers.settings.yaml
echo -e " test:" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ env.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ vars.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " networkURL: ${{ secrets.RPC_PRIVADO_TEST }}" >> resolvers.settings.yaml
echo -e "eth:" >> resolvers.settings.yaml
echo -e " main:" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ env.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ vars.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " networkURL: ${{ secrets.RPC_ETHEREUM_MAIN }}" >> resolvers.settings.yaml
echo -e " sepolia:" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ env.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ vars.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " networkURL: ${{ secrets.RPC_ETHEREUM_SEPOLIA }}" >> resolvers.settings.yaml
echo -e "linea:" >> resolvers.settings.yaml
echo -e " main:" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ env.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ vars.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " networkURL: ${{ secrets.RPC_LINEA_MAIN }}" >> resolvers.settings.yaml
echo -e " sepolia:" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ env.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " contractAddress: ${{ vars.STATE_UNIFIED }}" >> resolvers.settings.yaml
echo -e " networkURL: ${{ secrets.RPC_LINEA_SEPOLIA }}" >> resolvers.settings.yaml
- name: Set up Docker Buildx
Expand Down

0 comments on commit ba73db6

Please sign in to comment.