Skip to content

Commit

Permalink
WIP CI/CD test for multi arch Docker image.
Browse files Browse the repository at this point in the history
  • Loading branch information
Syndesi committed Aug 16, 2023
1 parent 6ca128c commit 9984e9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ jobs:
# --amend embernexus/api:tmp-latest-arm
#docker manifest push embernexus/api:test
echo "Creating temporary JWT key for Docker Hub"
export TMP_DOCKERHUB_JWT_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)
export TMP_DOCKERHUB_JWT_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)
echo "Deleting Docker Hub tag embernexus/api:tmp-latest-amd"
curl -s -X DELETE -H "Authorization: JWT ${TMP_DOCKERHUB_JWT_TOKEN}" https://hub.docker.com/v2/repositories/embernexus/api/tags/tmp-latest-amd
echo "Deleting Docker Hub tag embernexus/api:tmp-latest-arm"
Expand Down

0 comments on commit 9984e9b

Please sign in to comment.