chore: use DOCKER_PASS (#18963)
This commit is contained in:
parent
d44cdb6263
commit
18247b3f5d
1 changed files with 1 additions and 1 deletions
2
.github/workflows/nightly.yml
vendored
2
.github/workflows/nightly.yml
vendored
|
|
@ -81,7 +81,7 @@ jobs:
|
|||
old_tags=$(curl -s "https://hub.docker.com/v2/repositories/evcc/evcc/tags/?page_size=100" | jq -r '.results | map(select(.name | startswith("nightly."))) | sort_by(.last_updated) | reverse | .[1:] | .[].name')
|
||||
for tag in $old_tags; do
|
||||
echo "Deleting tag: $tag"
|
||||
curl -s -H "Authorization: Bearer ${{ secrets.DOCKER_TOKEN }}" -X DELETE "https://hub.docker.com/v2/repositories/evcc/evcc/tags/$tag/"
|
||||
curl -s -H "Authorization: Bearer ${{ secrets.DOCKER_PASS }}" -X DELETE "https://hub.docker.com/v2/repositories/evcc/evcc/tags/$tag/"
|
||||
done
|
||||
|
||||
hassio:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue