diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e34c591..569f720 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,12 @@ on: env: JAVA_VERSION: 17 JAVA_DISTRO: zulu - + AWS_REGION: us-east-1 + +permissions: + id-token: write + contents: read + jobs: pipeline-test: name: Pipeline tests @@ -32,6 +37,16 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Configure AWS credentials + uses: aws-actions/configure-aws-credentials@v4 + with: + role-to-assume: arn:aws:iam::566365074765:role/github-actions-role + aws-region: ${{ env.AWS_REGION }} + - name: Login to Amazon ECR Public + id: login-ecr-public + uses: aws-actions/amazon-ecr-login@v2 + with: + registry-type: public - name: Set up Java uses: actions/setup-java@v4 with: @@ -53,6 +68,16 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Configure AWS credentials + uses: aws-actions/configure-aws-credentials@v4 + with: + role-to-assume: arn:aws:iam::566365074765:role/github-actions-role + aws-region: ${{ env.AWS_REGION }} + - name: Login to Amazon ECR Public + id: login-ecr-public + uses: aws-actions/amazon-ecr-login@v2 + with: + registry-type: public - name: Set up Java uses: actions/setup-java@v4 with: @@ -72,6 +97,16 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Configure AWS credentials + uses: aws-actions/configure-aws-credentials@v4 + with: + role-to-assume: arn:aws:iam::566365074765:role/github-actions-role + aws-region: ${{ env.AWS_REGION }} + - name: Login to Amazon ECR Public + id: login-ecr-public + uses: aws-actions/amazon-ecr-login@v2 + with: + registry-type: public - name: Set up Java uses: actions/setup-java@v4 with: diff --git a/modules/inferExp/rseqc/main.nf b/modules/inferExp/rseqc/main.nf index 08b25c9..cb4fc61 100644 --- a/modules/inferExp/rseqc/main.nf +++ b/modules/inferExp/rseqc/main.nf @@ -2,7 +2,7 @@ params.rseqcVersion = '2.6.4--py27hf8a1672_2' params.ucscVersion = '447--h2a80c09_1' params.gtfToGenePredContainer = "${params.containerRepo}/ucsc-gtftogenepred:${params.ucscVersion}" params.genePredContainer = "${params.containerRepo}/ucsc-genepredtobed:${params.ucscVersion}" -params.rseqcContainer = "public.ecr.aws/biocontainers/rseqc:${params.rseqcVersion}" +params.rseqcContainer = "${params.containerRepo}/rseqc:${params.rseqcVersion}" params.inferExpThreshold = '0.8' process gtfToGenePred { diff --git a/nextflow.config b/nextflow.config index e3117f9..54b610f 100644 --- a/nextflow.config +++ b/nextflow.config @@ -11,7 +11,7 @@ params { annotation = "$baseDir/data/annotation.gtf" } -params.containerRepo = "quay.io/biocontainers" +params.containerRepo = "public.ecr.aws/biocontainers" // Docker is disabled by default and uses the following options when activated docker { @@ -189,8 +189,6 @@ profiles { params.contigTool = "RGCRG" params.quantificationTool = "RSEM" - params.containerRepo = 'public.ecr.aws/biocontainers' - params.starVersion = '2.5.3a--0' params.rsemVersion = '1.3.0--pl526r341h4f16992_4' params.samtoolsVersion = '1.6--hc3601fc_10'