diff --git a/.github/workflows/PR-validation.yml b/.github/workflows/PR-validation.yml index a965890e..c1db458c 100644 --- a/.github/workflows/PR-validation.yml +++ b/.github/workflows/PR-validation.yml @@ -51,17 +51,19 @@ jobs: with: context: ./pipeline/seq_retrieval/ push: false - tags: | - agr_pavi/pipeline_seq_retrieval:latest - ${{ steps.login-ecr.outputs.registry }}/agr_pavi/pipeline_seq_retrieval:${{needs.container-build-context.outputs.tagname}} + tags: agr_pavi/pipeline_seq_retrieval:latest outputs: | type=docker,dest=/tmp/pavi_seq_retrieval_docker_image.tar - type=image,push=true + type=image,push=false - name: Upload image as artifact (share between jobs) uses: actions/upload-artifact@v4 with: name: seq_retrieval_image path: /tmp/pavi_seq_retrieval_docker_image.tar + - name: Tag and push image to registry + run: | + docker tag agr_pavi/pipeline_seq_retrieval:latest ${{ steps.login-ecr.outputs.registry }}/agr_pavi/pipeline_seq_retrieval:${{needs.container-build-context.outputs.tagname}} + docker push ${{ steps.login-ecr.outputs.registry }}/agr_pavi/pipeline_seq_retrieval:${{needs.container-build-context.outputs.tagname}} pipeline-seq-retrieval-code-checks: name: pipeline/seq_retrieval code checks runs-on: ubuntu-22.04 @@ -120,17 +122,19 @@ jobs: with: context: ./pipeline/alignment/ push: false - tags: | - agr_pavi/pipeline_alignment:latest - ${{ steps.login-ecr.outputs.registry }}/agr_pavi/pipeline_alignment:${{needs.container-build-context.outputs.tagname}} + tags: agr_pavi/pipeline_alignment:latest outputs: | type=docker,dest=/tmp/pavi_alignment_docker_image.tar - type=image,push=true + type=image,push=false - name: Upload image as artifact (share between jobs) uses: actions/upload-artifact@v4 with: name: alignment_image path: /tmp/pavi_alignment_docker_image.tar + - name: Tag and push image to registry + run: | + docker tag agr_pavi/pipeline_alignment:latest ${{ steps.login-ecr.outputs.registry }}/agr_pavi/pipeline_alignment:${{needs.container-build-context.outputs.tagname}} + docker push ${{ steps.login-ecr.outputs.registry }}/agr_pavi/pipeline_alignment:${{needs.container-build-context.outputs.tagname}} pipeline-alignment-unit-testing: name: pipeline/alignment unit testing needs: