diff --git a/.github/workflows/ci_test_docker.yml b/.github/workflows/ci_test_docker.yml index 51991a10d..cc409d388 100644 --- a/.github/workflows/ci_test_docker.yml +++ b/.github/workflows/ci_test_docker.yml @@ -4,6 +4,7 @@ on: [pull_request,workflow_dispatch] env: TEST_TAG: dtcenter/ccpp-scm:test + PR_NUMBER: ${{ github.event.number }} jobs: docker: @@ -22,6 +23,7 @@ jobs: file: docker/Dockerfile load: true tags: ${{ env.TEST_TAG }} + PR_NUMBER: ${PR_NUMBER} - name: Test run: | mkdir $HOME/output diff --git a/docker/Dockerfile b/docker/Dockerfile index aa0f33e07..8b0655b86 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -17,6 +17,8 @@ RUN ln -s /usr/bin/python3 /usr/bin/python # f90nml can't be installed for debian that way RUN pip install f90nml --break-system-packages +RUN echo "PR_NUMBER IS ${PR_NUMBER}" + #Compiler environment variables ENV CC=/usr/bin/gcc ENV FC=/usr/bin/gfortran