Skip to content

Commit

Permalink
garbage collection fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
mehedikhan72 committed Aug 25, 2024
1 parent 57c34be commit 3ec3339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
run: if [ ! -z "$(doctl registry repository list | grep "$(echo $IMAGE_NAME)")" ]; then doctl registry repository delete-manifest $(echo $IMAGE_NAME) $(doctl registry repository list-tags $(echo $IMAGE_NAME) | grep -o "sha.*") --force; else echo "No repository"; fi

- name: Remove Garbage
run: doctl registry garbage-collection start [--include-untagged-manifests] [pathphindr]
run: doctl registry garbage-collection start [--include-untagged-manifests] pathphindr

- name: Push image to DigitalOcean Container Registry
run: docker push $(echo $REGISTRY)/$(echo $IMAGE_NAME):$(echo $GITHUB_SHA | head -c7)
Expand Down

0 comments on commit 3ec3339

Please sign in to comment.