Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilKWarmdahl committed Jan 22, 2025
1 parent bd312b6 commit afe5005
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/activate-docker-distribution.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ on:

env:
SOURCE_IMAGE_TAG: "concordium/stagenet-node:4.3.1-rc1test1" #"concordium/${{ inputs.environment }}-node:${{ inputs.source_image_tag }}"
DESTINATION_IMAGE_TAG: "concordium/stagenet-node:4.3.1-rc1test3" #"concordium/${{ inputs.environment }}-node:${{ inputs.destination_image_tag }}"
DESTINATION_IMAGE_TAG: "concordium/stagenet-node:4.3.1-rc1test2" #"concordium/${{ inputs.environment }}-node:${{ inputs.destination_image_tag }}"

jobs:
update-docker-tag:
Expand Down Expand Up @@ -85,5 +85,5 @@ jobs:
#docker rmi docker.io/${{ env.SOURCE_IMAGE_TAG }}
TOKEN=`curl -s -H "Content-Type: application/json" -X POST -d "{\"username\": \"${{ secrets.DOCKERHUB_USERNAME}}\", \"password\": \"${{ secrets.DOCKERHUB_TOKEN }}\"}" "https://hub.docker.com/v2/users/login/" | jq -r .token`
curl -i "https://hub.docker.com/v2/repositories/concordium/stagenet-node/tags/4.3.1-rc1test/" -X DELETE -H "Authorization: JWT \"$TOKEN\""
curl "https://hub.docker.com/v2/repositories/concordium/stagenet-node/tags/4.3.1-rc1test3/" -X DELETE -H "Authorization: JWT $TOKEN"
fi

0 comments on commit afe5005

Please sign in to comment.