Skip to content

Commit

Permalink
Manually tag and push to fix local image pushing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mluypaert committed May 8, 2024
1 parent e971025 commit 8f56e7f
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/PR-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 8f56e7f

Please sign in to comment.