Skip to content

Commit 2751a09

Browse files
committed
refactor: move environment variables for Docker login to prune step
1 parent 5c7ed76 commit 2751a09

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/cd.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,4 +146,8 @@ jobs:
146146
pip install --requirement scripts/prune/requirements.txt
147147
148148
- name: Prune old images
149+
env:
150+
GHCR_TOKEN: ${{ secrets.GHCR_TOKEN }}
151+
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
152+
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
149153
run: python scripts/prune/main.py --container ${{ env.IMAGE_NAME }} --registry all --keep-latest 25 --verbose

0 commit comments

Comments
 (0)