Skip to content

Commit

Permalink
Back to latest only
Browse files Browse the repository at this point in the history
  • Loading branch information
devbyaccident committed Oct 6, 2023
1 parent 5fadd3b commit e92693a
Showing 1 changed file with 4 additions and 18 deletions.
22 changes: 4 additions & 18 deletions .github/workflows/run_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -192,17 +178,17 @@ 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:
OPENPEDCAN_URL: https://s3.amazonaws.com/d3b-openaccess-us-east-1-prd-pbta/open-targets
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:
Expand Down

0 comments on commit e92693a

Please sign in to comment.