From 4a9e3c00ad1702c33caeacedff0eabd93dd4deae Mon Sep 17 00:00:00 2001 From: Patrick Devaney Date: Fri, 3 Jan 2025 16:14:58 -0500 Subject: [PATCH] fix github actions again --- .github/workflows/docker-test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-test.yml b/.github/workflows/docker-test.yml index 26926046..f210bd45 100644 --- a/.github/workflows/docker-test.yml +++ b/.github/workflows/docker-test.yml @@ -36,6 +36,7 @@ jobs: - name: Build Docker image id: build_image run: | + docker build -t test-runner:swarm-testing ./tests IMAGE_TAG="test-runner:swarm-testing-${GITHUB_SHA}" docker build -t $IMAGE_TAG . echo "IMAGE_TAG=$IMAGE_TAG" >> $GITHUB_ENV @@ -46,8 +47,8 @@ jobs: mkdir -p ${{ github.workspace }}/logs chmod -R 777 ${{ github.workspace }}/logs - # Run Docker container with OpenAI API Key securely and capture test logs - - name: Run Docker container with OpenAI API Key + # Run Docker container with OpenAI API Key and capture test logs + - name: Run Docker container with OpenAI API Key and tests run: | docker run -e OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }} \ -v ${{ github.workspace }}/logs:/usr/src/app/logs \