diff --git a/.github/workflows/run_analysis.yml b/.github/workflows/run_analysis.yml index 15d1da9a42..cda0952059 100644 --- a/.github/workflows/run_analysis.yml +++ b/.github/workflows/run_analysis.yml @@ -21,20 +21,6 @@ jobs: dockerfile: - 'Dockerfile' - - name: Set image tag to analysisjob - if: steps.changes.outputs.dockerfile == 'true' - run: | - echo "DOCKER_TAG=analysisjob" >> $GITHUB_ENV - - - name: Set image tag to latest - if: steps.changes.outputs.dockerfile != 'true' - run: | - echo "DOCKER_TAG=latest" >> $GITHUB_ENV - - - name: Set docker tag output - id: tag - run: echo docker_tag=${{ env.DOCKER_TAG }} >> $GITHUB_OUTPUT - - name: Set up Docker Buildx if: steps.changes.outputs.dockerfile == 'true' uses: docker/setup-buildx-action@v2 @@ -192,9 +178,8 @@ jobs: - 'Dockerfile' - name: Download Data - env: - DOCKER_TAG: ${{ needs.build_and_publish_image.outputs.img_tag }} - uses: docker://pgc-images.sbgenomics.com/d3b-bixu/open-pedcan:${{ DOCKER_TAG }} + if: steps.changes.outputs.dockerfile != 'true' + uses: docker://pgc-images.sbgenomics.com/d3b-bixu/open-pedcan:latest with: entrypoint: ./download-data.sh env: @@ -202,7 +187,8 @@ jobs: OPENPEDCAN_RELEASE: testing - name: Run Analysis - uses: docker://pgc-images.sbgenomics.com/d3b-bixu/open-pedcan:${{ DOCKER_TAG }} + if: steps.changes.outputs.dockerfile != 'true' + uses: docker://pgc-images.sbgenomics.com/d3b-bixu/open-pedcan:latest with: entrypoint: analyses/${{ matrix.entrypoint }} env: