diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 7e05737a..566489be 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -166,12 +166,18 @@ jobs: ./bin/flux create image repository podinfo \ --image=ghcr.io/stefanprodan/podinfo \ --interval=1m - - name: flux create image policy + - name: flux create image policy select-semver run: | - ./bin/flux create image policy podinfo \ + ./bin/flux create image policy podinfo-semver \ --image-ref=podinfo \ --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 run: | ./bin/flux get image policy podinfo | grep '5.0.3'