Skip to content

Commit

Permalink
updated docker details
Browse files Browse the repository at this point in the history
  • Loading branch information
rsahuHitachi committed Jun 14, 2024
1 parent 2bc659c commit 527ceaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ jobs:
# Attempt to delete the existing collection (if supported)
# Note: This step requires API support for deletion
# Uncomment the line below if your Galaxy server supports API deletion
curl -X DELETE "https://galaxy.ansible.com/api/v3/plugin/ansible/content/published/collections/index/hitachivantara/vspone_block/" -H "Authorization: Token $API_KEY"
#curl -X DELETE "https://galaxy.ansible.com/api/v3/plugin/ansible/content/published/collections/index/hitachivantara/vspone_block/" -H "Authorization: Token $API_KEY"
# Sleep for 60 seconds to ensure the deletion is processed
# sleep 60
# Publish the collection
#docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace ghcr.io/${{ github.repository_owner }}/ansible-image:latest ansible-galaxy collection publish *.tar.gz --api-key $API_KEY
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace ghcr.io/${{ github.repository_owner }}/ansible-image:latest ansible-galaxy collection publish *.tar.gz --api-key $API_KEY

0 comments on commit 527ceaa

Please sign in to comment.