mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
ci: updated workflow
This commit is contained in:
2
.github/workflows/docker-crawlab.yml
vendored
2
.github/workflows/docker-crawlab.yml
vendored
@@ -307,6 +307,8 @@ jobs:
|
||||
curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
|
||||
-H "Accept: application/vnd.github.v3+json" \
|
||||
https://api.github.com/orgs/crawlab-team/packages/container/${{ matrix.image.name }}/versions > versions.json
|
||||
|
||||
cat versions.json
|
||||
|
||||
jq --arg tag "${{ needs.setup.outputs.image_hash }}" '.[] | select(.metadata.container.tags[] | contains($tag)) | .id' versions.json > version_ids.txt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user