Skip to content

Commit 7dc3d06

Browse files
authored
Remove duplicate clean up step in deploy workflow
Removed duplicate step for cleaning up old Docker images in the deployment workflow.
1 parent 4b99e87 commit 7dc3d06

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/deploy-tailscale.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,15 +118,15 @@ jobs:
118118
run: |
119119
tailscale ssh "${{ steps.ssh.outputs.target }}" "echo 'Connected'"
120120
121-
- name: Log in to GitHub Container Registry
122-
run: |
123-
echo "${{ secrets.GITHUB_TOKEN }}" | tailscale ssh "${{ steps.ssh.outputs.target }}" \
124-
"docker login ghcr.io -u ${{ github.actor }} --password-stdin"
125-
126121
- name: Clean up old Docker images
127122
run: |
128123
tailscale ssh "${{ steps.ssh.outputs.target }}" \
129124
"docker system prune -af --filter 'until=24h'"
125+
126+
- name: Log in to GitHub Container Registry
127+
run: |
128+
echo "${{ secrets.GITHUB_TOKEN }}" | tailscale ssh "${{ steps.ssh.outputs.target }}" \
129+
"docker login ghcr.io -u ${{ github.actor }} --password-stdin"
130130
131131
- name: Pull latest images
132132
run: |

0 commit comments

Comments
 (0)