diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a53bfd9..b93e570 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -30,7 +30,7 @@ jobs: uses: battila7/get-version-action@v2 - name: Check image name env: - REPO_NAME: pi_sbs_hf + REPO_NAME: pi_sbs_human_factor # not accepted as the repo contains uppercase letters #REPO_NAME: ${{ github.event.repository.name }} VERSION: ${{ steps.get_version.outputs.version }} @@ -39,7 +39,7 @@ jobs: run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin - name: Build the Docker image env: - REPO_NAME: pi_sbs_hf + REPO_NAME: pi_sbs_human_factor # not accepted as the repo contains uppercase letters #REPO_NAME: ${{ github.event.repository.name }} VERSION: ${{ steps.get_version.outputs.version }} @@ -48,13 +48,13 @@ jobs: run: wget -O test_docker_call.py https://raw.githubusercontent.com/eurobench/docker_test/master/test_docker_call.py - name: test the Docker image env: - DOCKER_IMAGE: eurobenchtest/pi_sbs_hf:${{ steps.get_version.outputs.version }} + DOCKER_IMAGE: eurobenchtest/pi_sbs_human_factor:${{ steps.get_version.outputs.version }} #DOCKER_IMAGE: eurobenchtest/${{ github.event.repository.name }}:${{ steps.get_version.outputs.version }} TEST_PLAN: test/test_plan.xml run: python3 test_docker_call.py - name: Push to Docker hub env: - REPO_NAME: pi_sbs_hf + REPO_NAME: pi_sbs_human_factor # not accepted as the repo contains uppercase letters #REPO_NAME: ${{ github.event.repository.name }} VERSION: ${{ steps.get_version.outputs.version }} diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index a4ae3c6..16c4c78 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -24,7 +24,7 @@ jobs: env: # not accepted as the repo contains uppercase letters #REPO_NAME: ${{ github.event.repository.name }} - REPO_NAME: pi_sbs_hf + REPO_NAME: pi_sbs_human_factor REPO_BRANCH: ${{ github.head_ref }} run: docker build . --file Dockerfile --tag $REPO_NAME:$REPO_BRANCH @@ -36,5 +36,5 @@ jobs: TEST_PLAN: test/test_plan.xml #not accepted as the repo contains uppercase letters #DOCKER_IMAGE: ${{ github.event.repository.name }}:${{ github.head_ref }} - DOCKER_IMAGE: pi_sbs_hf:${{ github.head_ref }} + DOCKER_IMAGE: pi_sbs_human_factor:${{ github.head_ref }} run: python3 test_docker_call.py diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index beb89b9..157b494 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -15,7 +15,7 @@ jobs: EVENT_NAME: ${{ github.event_name }} # not accepted as the repo contains uppercase letters #REPO_NAME: ${{ github.event.repository.name }} - REPO_NAME: pi_sbs_hf + REPO_NAME: pi_sbs_human_factor REPO_HEAD_REF: ${{ github.head_ref }} REPO_REF: ${{ github.ref}} run: echo "event name $EVENT_NAME head_branch $REPO_HEAD_REF $REPO_REF" @@ -25,7 +25,7 @@ jobs: id: getbranchname - name: Check image name env: - REPO_NAME: pi_sbs_hf + REPO_NAME: pi_sbs_human_factor #not accepted as the repo contains uppercase letters #REPO_NAME: ${{ github.event.repository.name }} BRANCH_NAME: ${{ steps.getbranchname.outputs.branch }} @@ -34,7 +34,7 @@ jobs: echo "docker image name would be $REPO_NAME:${BRANCH_NAME}" - name: Build the Docker image env: - REPO_NAME: pi_sbs_hf + REPO_NAME: pi_sbs_human_factor #not accepted as the repo contains uppercase letters #REPO_NAME: ${{ github.event.repository.name }} #REPO_NAME: ${{ github.event.repository.name }} @@ -45,5 +45,5 @@ jobs: env: TEST_PLAN: test/test_plan.xml #DOCKER_IMAGE: ${{ github.event.repository.name }}:${{ steps.getbranchname.outputs.branch }} - DOCKER_IMAGE: pi_sbs_hf:${{ steps.getbranchname.outputs.branch }} + DOCKER_IMAGE: pi_sbs_human_factor:${{ steps.getbranchname.outputs.branch }} run: python3 test_docker_call.py