|
|
@ -166,12 +166,18 @@ jobs:
|
|
|
|
./bin/flux create image repository podinfo \
|
|
|
|
./bin/flux create image repository podinfo \
|
|
|
|
--image=ghcr.io/stefanprodan/podinfo \
|
|
|
|
--image=ghcr.io/stefanprodan/podinfo \
|
|
|
|
--interval=1m
|
|
|
|
--interval=1m
|
|
|
|
- name: flux create image policy
|
|
|
|
- name: flux create image policy select-semver
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
./bin/flux create image policy podinfo \
|
|
|
|
./bin/flux create image policy podinfo-semver \
|
|
|
|
--image-ref=podinfo \
|
|
|
|
--image-ref=podinfo \
|
|
|
|
--interval=1m \
|
|
|
|
--interval=1m \
|
|
|
|
--semver=5.0.x
|
|
|
|
--select-semver=5.0.x
|
|
|
|
|
|
|
|
- name: flux create image policy select-alpha
|
|
|
|
|
|
|
|
run: |
|
|
|
|
|
|
|
|
./bin/flux create image policy podinfo-alpha \
|
|
|
|
|
|
|
|
--image-ref=podinfo \
|
|
|
|
|
|
|
|
--interval=1m \
|
|
|
|
|
|
|
|
--select-alpha=desc
|
|
|
|
- name: flux get image policy
|
|
|
|
- name: flux get image policy
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
./bin/flux get image policy podinfo | grep '5.0.3'
|
|
|
|
./bin/flux get image policy podinfo | grep '5.0.3'
|
|
|
|