Skip to content

Commit

Permalink
Merge pull request #12 from appuio/update-readme-with-migration
Browse files Browse the repository at this point in the history
Update readme with migration paragraph
  • Loading branch information
ccremer authored Feb 25, 2020
2 parents 504a38d + d201dc3 commit 29bb860
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@ go test ./...
docker run --rm -it appuio/image-cleanup:<tag>
```

## Migrate from legacy cleanup plugin

Projects using the legacy `oc` cleanup plugin can be migrated to `image-cleanup` as follows

```console
oc -n "$OPENSHIFT_PROJECT" plugin cleanup "$APP_NAME" -p "$PWD" -f=y
```
becomes:
```console
image-cleanup imagestream "$APP_NAME" --namespace="$OPENSHIFT_PROJECT" --force --git-commit-limit=0
```

## Release

Push a git tag with the scheme `vX.Y.Z`.
Expand Down

0 comments on commit 29bb860

Please sign in to comment.