Switch back to distinct DOCKER_PRUNE_TOKEN

This commit is contained in:
Kevin David authored and GitHub committed 2023-05-28 16:41:30 -04:00
1 parent cf07304bae
commit a59dafab00
1 file changed
+2 -2
+2 -2
View File
@@ -31,7 +31,7 @@ jobs:
if [ -n $SECRET ]; then HAS_SECRET='true' ; fi
echo "HAS_SECRET_TOKEN=${HAS_SECRET}" >> $GITHUB_OUTPUT
env:
SECRET: "${{ secrets.DOCKER_TOKEN }}"
SECRET: "${{ secrets.DOCKER_PRUNE_TOKEN }}"
- name: Convert username to lower case for docker
id: string_user
if: ${{ steps.vars.outputs.HAS_SECRET_TOKEN }}
@@ -144,4 +144,4 @@ jobs:
DAYS: "100"
REPO_NAME: ${{ steps.string_repo.outputs.lowercase }}
OWNER: ${{ vars.DOCKER_USERNAME || steps.string_user.outputs.lowercase }}
TOKEN: ${{ secrets.DOCKER_TOKEN }}
TOKEN: ${{ secrets.DOCKER_PRUNE_TOKEN }}