Skip to content

Commit 998c74a

Browse files
committed
upload tarball with other packages to Azure
1 parent e9c3afa commit 998c74a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/upload-release-assets.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,11 @@ jobs:
8787
uses: azure/CLI@9f7ce6f37c31b777ec6c6b6d1dfe7db79f497956 # v2.2.0
8888
with:
8989
inlineScript: |
90-
for i in $(find ${{inputs.pkgRepo}}/nginx-agent | grep -e "nginx-agent[_-]${{inputs.pkgVersion}}"); do
90+
echo "Uploading tarball to Azure Storage Account"
91+
az storage blob upload --auth-mode=login -f "${{ inputs.pkgRepo }}/nginx-agent/nginx-agent.tar.gz" \
92+
-c ${{ secrets.AZURE_CONTAINER_NAME }} \
93+
--account-name ${{ secrets.AZURE_ACCOUNT_NAME }} --overwrite -n ${dest}
94+
for i in $(find ${{ inputs.pkgRepo }}/nginx-agent | grep -e "nginx-agent[_-]${{ inputs.pkgVersion }}"); do
9195
dest="nginx-agent/release-${{ inputs.pkgVersion }}/${i##*/}"
9296
echo "Uploading ${i} to ${dest}"
9397
az storage blob upload --auth-mode=login -f "$i" -c ${{ secrets.AZURE_CONTAINER_NAME }} \

0 commit comments

Comments
 (0)