diff --git a/.github/action.yml b/.github/action.yml index 37811e8e..298ca755 100644 --- a/.github/action.yml +++ b/.github/action.yml @@ -30,7 +30,7 @@ runs: using: docker image: ./images/Dockerfile env: - RSKJ_BRANCH: ${{ inputs.rskj-branch }} - POWPEG_NODE_BRANCH: ${{ inputs.powpeg-node-branch }} - RIT_BRANCH: ${{ inputs.rit-branch }} - RIT_LOG_LEVEL: ${{ inputs.rit-log-level }} + INPUT_RSKJ_BRANCH: ${{ inputs.rskj-branch }} + INPUT_POWPEG_NODE_BRANCH: ${{ inputs.powpeg-node-branch }} + INPUT_RIT_BRANCH: ${{ inputs.rit-branch }} + INPUT_RIT_LOG_LEVEL: ${{ inputs.rit-log-level }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 885cdb57..6e72544c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,12 +49,17 @@ jobs: - name: Test the RIT Container Action id: test-container + env: + INPUT_RSKJ_BRANCH: master + INPUT_POWPEG_NODE_BRANCH: master + INPUT_RIT_BRANCH: main + INPUT_RIT_LOG_LEVEL: info run: | docker run \ - --env INPUT_RSKJ_BRANCH="master" \ - --env INPUT_POWPEG_NODE_BRANCH="master" \ - --env INPUT_RIT_BRANCH="main" \ - --env INPUT_RIT_LOG_LEVEL="info" \ + --env INPUT_RSKJ_BRANCH="${{ env.INPUT_RSKJ_BRANCH }}" \ + --env INPUT_POWPEG_NODE_BRANCH="${{ env.INPUT_POWPEG_NODE_BRANCH }}" \ + --env INPUT_RIT_BRANCH="${{ env.INPUT_RIT_BRANCH }}" \ + --env INPUT_RIT_LOG_LEVEL="${{ env.INPUT_RIT_LOG_LEVEL }}" \ --env GITHUB_OUTPUT="/github-output" \ -v "$GITHUB_OUTPUT:/github-output" \ --rm ${{ env.TEST_TAG }}