diff --git a/.github/workflows/performance-tests.yml b/.github/workflows/performance-tests.yml index 88ce05e44e..b572a775f2 100644 --- a/.github/workflows/performance-tests.yml +++ b/.github/workflows/performance-tests.yml @@ -14,6 +14,8 @@ on: env: BENCHMARKING_DIR: "tests/performance-tests/atala-performance-tests-k6" NODE_AUTH_TOKEN: ${{ secrets.ATALA_GITHUB_TOKEN }} + GITHUB_ACTOR: $${{ ${{ github.actor }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} jobs: run-e2e-tests: @@ -35,8 +37,8 @@ jobs: uses: docker/login-action@v2 with: registry: ghcr.io - username: ${{ secrets.ATALA_GITHUB_ACTOR }} - password: ${{ secrets.ATALA_GITHUB_TOKEN }} + username: ${{ env.GITHUB_ACTOR }} + password: ${{ env.GITHUB_TOKEN }} - uses: KengoTODA/actions-setup-docker-compose@v1 name: Install `docker-compose` @@ -46,8 +48,6 @@ jobs: - name: Build local version of PRISM Agent env: ENV_FILE: "infrastructure/local/.env" - GITHUB_ACTOR: ${{ secrets.ATALA_GITHUB_ACTOR }} - GITHUB_TOKEN: ${{ secrets.ATALA_GITHUB_TOKEN }} run: | sbt docker:publishLocal PRISM_AGENT_VERSION=$(cut version.sbt -d '=' -f2 | tr -d '" ')