Skip to content

Commit

Permalink
Changed harbor protocol to use oras
Browse files Browse the repository at this point in the history
Attempting to fix unsupported transport type error for https
  • Loading branch information
AdamG412 committed Oct 5, 2023
1 parent 3b25c7a commit ed82920
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,13 @@ jobs:
if: ${{ github.ref == 'refs/heads/master' }}
run: |
singularity build container.sif ${{ matrix.image }}/apptainer.def
singularity push container.sif harbor.stfc.ac.uk/stfc-cloud/${{ matrix.image }}:${{ needs.setup.outputs.sha }}
singularity push container.sif oras://harbor.stfc.ac.uk/stfc-cloud/${{ matrix.image }}:${{ needs.setup.outputs.sha }}
- name: Build apptainer & push to staging
if: ${{ github.ref != 'refs/heads/master' }}
run: |
singularity build container.sif ${{ matrix.image }}/apptainer.def
singularity push container.sif https://harbor.stfc.ac.uk/stfc-cloud-staging/${{ matrix.image }}:${{ needs.setup.outputs.sha }}
singularity push container.sif oras://harbor.stfc.ac.uk/stfc-cloud-staging/${{ matrix.image }}:${{ needs.setup.outputs.sha }}
- name: Inform of tagged name apptainer
if: ${{ github.ref != 'refs/heads/master' }}
Expand Down

0 comments on commit ed82920

Please sign in to comment.