46
All checks were successful
Deploy Production / Deploy to Staging (push) Has been skipped

This commit is contained in:
Alex Shevchuk
2025-08-19 17:41:27 +03:00
parent 0820ed8892
commit a98bd9789c

View File

@@ -32,11 +32,9 @@ jobs:
REGISTRY: hub.docker.com
REPO: ${{ github.repository }}
run: |
REPO2=$(echo $REPO | cut -d'/' -f2)
echo $REPO
echo $REPO2
REPO_NAME=$(echo $REPO | cut -d'/' -f2)
TAGS=$(wget -q -O - "https://$REGISTRY/v2/namespaces/molvaapp/repositories/$REPO/tags?page_size=100" | jq -r '.results[].name' | tr '\n' ',')
TAGS=$(wget -q -O - "https://$REGISTRY/v2/namespaces/molvaapp/repositories/$REPO_NAME/tags?page_size=100" | jq -r '.results[].name' | tr '\n' ',')
echo "version_options=${TAGS%,}" >> $GITHUB_OUTPUT
@@ -44,7 +42,7 @@ jobs:
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.PAT_TOKEN }}
repository: ${{ github.repository_name }}
repository: ${{ github.repository }}
event-type: deploy-request
client-payload: |
{