Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
doc: Expand image tag section with semver
Browse files Browse the repository at this point in the history
  • Loading branch information
rndstr committed Aug 1, 2018
1 parent 025961d commit 22be705
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions site/using.md
Expand Up @@ -389,6 +389,20 @@ individually:
fluxctl policy --controller=default:deployment/helloworld --tag='helloworld=prod-*' --tag='sidecar=prod-*'
```

If your images use [semantic versioning](https://semver.org) you can filter by image tags
that adhere to certain constraints:
```
fluxctl policy --controller=default:deployment/helloworld --tag-all='semver:~1'
```

or only release images that have a stable semantic version tag (X.Y.Z):
```
fluxctl policy --controller=default:deployment/helloworld --tag-all='semver:*'
```

This will also affect the way flux determines the newest image tag
by looking at the newest version instead of image creation date.

## Actions triggered through `fluxctl`

`fluxctl` provides the following flags for the message and author customization:
Expand Down

0 comments on commit 22be705

Please sign in to comment.