This commit is contained in:
@@ -30,10 +30,8 @@ jobs:
|
|||||||
id: get_versions
|
id: get_versions
|
||||||
env:
|
env:
|
||||||
REGISTRY: hub.docker.com
|
REGISTRY: hub.docker.com
|
||||||
REPO: ${{ github.repository }}
|
REPO: ${{ github.repository_name }}
|
||||||
run: |
|
run: |
|
||||||
echo $REPO
|
|
||||||
|
|
||||||
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/tags?page_size=100" | jq -r '.results[].name' | tr '\n' ',')
|
||||||
|
|
||||||
echo "version_options=${TAGS%,}" >> $GITHUB_OUTPUT
|
echo "version_options=${TAGS%,}" >> $GITHUB_OUTPUT
|
||||||
@@ -42,7 +40,7 @@ jobs:
|
|||||||
uses: peter-evans/repository-dispatch@v2
|
uses: peter-evans/repository-dispatch@v2
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.PAT_TOKEN }}
|
token: ${{ secrets.PAT_TOKEN }}
|
||||||
repository: ${{ github.repository }}
|
repository: ${{ github.repository_name }}
|
||||||
event-type: deploy-request
|
event-type: deploy-request
|
||||||
client-payload: |
|
client-payload: |
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user