From b6a78f42ea39d004d6e4ca8216321ef3ad190178 Mon Sep 17 00:00:00 2001
From: Stefan Prodan <stefan.prodan@gmail.com>
Date: Thu, 23 Jun 2022 09:08:06 +0300
Subject: [PATCH] Update SC with OCI semver support

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
---
 .github/workflows/e2e.yaml                           | 4 ++--
 manifests/bases/source-controller/kustomization.yaml | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml
index 2352f2e4..1e0fdf57 100644
--- a/.github/workflows/e2e.yaml
+++ b/.github/workflows/e2e.yaml
@@ -181,12 +181,12 @@ jobs:
             --revision="${{ github.ref }}/${{ github.sha }}"
           /tmp/flux tag artifact localhost:5000/fluxcd/flux:${{ github.sha }} \
             --tag latest
-          /tmp/flux list artifact localhost:5000/fluxcd/flux
+          /tmp/flux list artifacts localhost:5000/fluxcd/flux
       - name: flux oci repositories
         run: |
           /tmp/flux create source oci podinfo-oci \
             --url ghcr.io/stefanprodan/manifests/podinfo \
-            --tag 6.1.6 \
+            --tag-semver 6.1.x \
             --interval 10m
           /tmp/flux create kustomization podinfo-oci \
             --source=OCIRepository/podinfo-oci \
diff --git a/manifests/bases/source-controller/kustomization.yaml b/manifests/bases/source-controller/kustomization.yaml
index 29147274..9d2e44e0 100644
--- a/manifests/bases/source-controller/kustomization.yaml
+++ b/manifests/bases/source-controller/kustomization.yaml
@@ -15,4 +15,4 @@ patchesJson6902:
 # TODO: remove the hardcoded image when OCIRepository is released
 images:
   - name: fluxcd/source-controller
-    newTag: oci-778f6d5d
+    newTag: oci-8509ac03
-- 
GitLab