Skip to content

Commit

Permalink
updates CI
Browse files Browse the repository at this point in the history
  • Loading branch information
saxix committed Jun 20, 2024
1 parent 8f0e63e commit f3f3a68
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/delete_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ jobs:
- name: Delete Test Docker Image
shell: bash
run: |
echo "name=${{vars.DOCKER_IMAGE}}:test-${{steps.meta.outputs.version}}" >> $GITHUB_OUTPUT
name="${{vars.DOCKER_IMAGE}}:test-${{steps.meta.outputs.version}}"
registry="https://registry-1.docker.io"
name=${{steps.image_name.outputs.name}}
curl -v -sSL -X DELETE "http://${registry}/v2/${name}/manifests/$(
curl -sSL -I \
-H "Accept: application/vnd.docker.distribution.manifest.v2+json" \
Expand All @@ -28,9 +26,8 @@ jobs:
- name: Delete linked Docker Image
shell: bash
run: |
echo "name=${{vars.DOCKER_IMAGE}}:${{steps.meta.outputs.version}}" >> $GITHUB_OUTPUT
name="${{vars.DOCKER_IMAGE}}:${{steps.meta.outputs.version}}"
registry="https://registry-1.docker.io"
name=${{steps.image_name.outputs.name}}
curl -v -sSL -X DELETE "http://${registry}/v2/${name}/manifests/$(
curl -sSL -I \
-H "Accept: application/vnd.docker.distribution.manifest.v2+json" \
Expand Down

0 comments on commit f3f3a68

Please sign in to comment.