Skip to content

Commit

Permalink
Test - removed the curl call for the listing of the images
Browse files Browse the repository at this point in the history
  • Loading branch information
mojo-varu committed Aug 7, 2024
1 parent 78ea4ad commit cb247be
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/eligibility-model-container-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ jobs:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
# dynamically set the branch name and sha as a custom tag
type=raw,value=mytag-{{branch}}-{{sha}}
type=schedule,pattern={{date 'YYYYMMDD-hhmmss' tz='Asia/Tokyo'}}
type=ref,event=branch
type=raw,value=eligibility_model-{{branch}}-{{sha}}-pattern={{date 'YYYYMMDD-hhmmss' tz='Asia/Tokyo'}}
- name: List files in the repository
Expand Down Expand Up @@ -67,10 +65,4 @@ jobs:
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true

- name: List the container tags from ghcr.io
run: |
curl --request GET \
--header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
--url 'https://ghcr.io/v2/${{ env.USERNAME }}/${{ env.IMAGE_TAG }}/tags/list'
- run: echo "🍏 This job's status is ${{ job.status }}."

0 comments on commit cb247be

Please sign in to comment.